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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Execution EMEA Team 2023-10-16
    • 133
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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. 

            Assignee:
            Yujin Kang Park
            Reporter:
            Haley Connelly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: