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

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2024-01-08, CAR Team 2024-02-05
    • 2

      There are cases where the create collection coordinator creates the collection in the db primary shard or the data shard, and then, due to a non retriable errors we need to rollback. In case the coordinator or data shard 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.

            Assignee:
            Unassigned Unassigned
            Reporter:
            pol.pinol@mongodb.com Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: