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

ChunkMigrationInserters shouldn't be allowed to implicitly create the collection for the chunk being migrated

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc11
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • v8.0
    • CAR Team 2024-07-08
    • 200

      The findings in SERVER-89840 shows that if the collection for the chunk being migrated is dropped between the collection and index creation step and the cloning step, the inserts in the ChunkMigrationInserters thread would cause the collection to be implicitly created. This shouldn't be allowed since the collection needs to be created with the same options and UUID as on the donor shard and the implicit collection creation breaks this.

            Assignee:
            robert.sander@mongodb.com Robert Sander
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: