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

Check if collection is sharded rather than checking for chunkManager

    • Sharding EMEA
    • Sharding 2018-11-19

      Since unsharded collections will now have a chunkManager, we cannot rely on checking the CachedCollectionRoutingInfo for a chunkManger to determine whether a collection is sharded or not in determining targeting for commands. We instead need to call the new isSharded() function. This needs to be changed in various parts of the code including but not limited to chunk_manager_targeter.cpp and many cluster_*.cpp files.

            Assignee:
            backlog-server-sharding-emea [DO NOT USE] Backlog - Sharding EMEA
            Reporter:
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: