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

Change stream collection cleanup at startup recovery doesn't retry after write conflicts

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.2.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Execution EMEA Team 2023-10-16
    • 133

    Description

      cleanupChangeCollectionAfterUncleanShutdown() and cleanupPreImagesCollectionAfterUncleanShutdown() both try to establish a collection snapshot via acquireCollection().

      However, acquireCollection() can throw a WriteConflictException if it races with concurrent catalog changes.

      The startup recovery code should be robust against WCE. 

      Attachments

        Activity

          People

            yujin.kang@mongodb.com Yujin Kang Park
            haley.connelly@mongodb.com Haley Connelly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: