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

XMLWordPrintableJSON

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

      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:
              [DO NOT USE] Backlog - Sharding Team
              Reporter:
              Esha Maharishi (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: