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

resharding should mark a collection as unsharded if called by unshardCollection

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Sharding NYC
    • Fully Compatible
    • Sharding NYC 2023-09-04, Sharding NYC 2023-09-18, Sharding NYC 2023-10-02

      This includes

      • marking the collection as unsplittable
      • drop all chunks and make a single chunk with _id shard key with the range pointing to the data bearing shard
      • refresh everywhere
      • changes should be done under a critical section
      • THEORETICALLY, resharding should give us most of this already
         
      • Also write a test for this

            Assignee:
            kshitij.gupta@mongodb.com Kshitij Gupta
            Reporter:
            kshitij.gupta@mongodb.com Kshitij Gupta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: