Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-104020

Migrate scatterGatherVersionedTargetByRoutingTable functions to take in RoutingContext instead of CRI

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      This is the first step of enforcing the contract that a RoutingContext used for a routing operation can only be safely destructed if it has its routing tables validated by sending a versioned request to a shard.

      The following functions will be migrated over to the RoutingContext:

      • scatterGatherVersionedTargetByRoutingTable
      • scatterGatherVersionedTargetByRoutingTableNoThrowOnStaleShardVersionErrors

      Any code that calls into these functions must acquire their routing tables through. the RoutingContext instead of directly accessing the CatalogCache.

            Assignee:
            lynne.wang@mongodb.com Lynne Wang
            Reporter:
            lynne.wang@mongodb.com Lynne Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: