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

Create collection coordinator should clean up the collection on the db primary shard in case of rollback

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Catalog and Routing
    • ALL
    • CAR Team 2024-01-08, CAR Team 2024-02-05, CAR Team 2024-02-19
    • 2

    Description

      There are cases where the create collection coordinator creates the collection in the db primary shard, and then, due to a non retriable errors we need to rollback. In case the coordinator has created the local collection, i.e. the collection did not previously exist, it must drop it to proceed with a clean rollback.

      It is important to only drop the collection when it has been created by the create collection coordinator.

      Attachments

        Activity

          People

            pol.pinol@mongodb.com Pol Pinol
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: