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

New commit phase of sharded renameCollection is not idempotent

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.1.0-rc0, 7.0.0-rc1
    • Affects Version/s: 7.0.0-rc0, 7.1.0-rc0
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v7.0
    • Sharding EMEA 2023-05-15
    • 148

      The commit phase of the renameCollection has been recently modified to perform the metadata changes as a multi document TXN. However, this TXN has one stmt that is not idempotent, so if the whole commit phase is re-executed due to any random failure it will end up failing and being retried forever.

            Assignee:
            sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
            Reporter:
            sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: