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

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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • Sharding

    Description

      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."

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: