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

Make the CatalogCache return ChunkManager(s) directly

    • Fully Compatible
    • Sharding 2020-09-07

      Currently, the CatalogCache returns an intermediate "combo" object called CachedCollectionRoutingInfo for its collection routing methods. We should go in a direction where the ChunkManager is the only thing used for routing, so we should make the CatalogCache return it directly instead.

      As a follow-up step, we should remove all places which differentiate between sharded and unsharded collections and push that logic in the ChunkManager's routing methods. That way when we make all collections be sharding-aware, we will only have to make changes there.

            Assignee:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Reporter:
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: