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

Replace checks of cm() with cm()->distributionMode() == sharded

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Sharding

      Once unsharded collections are also tracked, sharding code that needs to handle unsharded and sharded collections differently can no longer use the presence of a ChunkManager in its cache entry for the collection to mean the collection is sharded.

      Instead, the code should explicitly check whether the collection's distributionMode == "sharded."

            Assignee:
            backlog-server-sharding [DO NOT USE] Backlog - Sharding Team
            Reporter:
            esha.maharishi@mongodb.com Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: