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

Replace direct CatalogCache accesses in the sharded query command code with the RoutingContext

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

      This covers all code under the s/commands/query_cmd and s/query/planner folder., as well as any cluster command helpers called by that code. All routing operations performed here should use the RoutingContext to obtain routing tables instead of the CatalogCache. It should be passed down the call stack to cover the entire routing operation.

      Existing behavior that propagates StaleConfigException or other errors up the call stack should be maintained.

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

              Created:
              Updated:
              Resolved: