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

improve sharding support $listCatalog aggregation stage

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2022-03-21, Execution Team 2022-04-04

      We introduced the $listCatalog aggregation stage in SERVER-62006 to provide read majority access to the durable catalog to support an internal application for migrating sharded clusters.

      There are still some gaps in this new aggregation stage that need to be addressed in the context of a sharded cluster, especially when there is active chunk migration in progress:

      • Ensuring the aggregation stage is defined to run on all shards.
      • Provide identifying shard information in the stage results.
      • Take into account sharding-specific information in collections such as config.databases and config.collections.

      The initial work included tests that run in jsCore and most of the associated passthroughs. A new test in the jstests/sharding suite would help with coverage over the sharding-specific enhancements.

            Assignee:
            gregory.noma@mongodb.com Gregory Noma
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: