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

Retrying skipped records can try deleting record without wuow

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • ALL
    • v8.0, v7.0
    • Execution Team 2024-11-25, Execution Team 2024-12-09

      In SkippedRecordTracker::retrySkippedRecords, we don't construct a write unit of work if we only intend to retry key generation without updating the index and tracker. If we do not find the record in the collection, we may attempt to delete the record from the tracker without being in a wuow which could lead to failing this invariant.

      This can this happen on step up.

      We should also clean up this comment since the feature flag has been removed.

            Assignee:
            shinyee.tan@mongodb.com Shin Yee Tan
            Reporter:
            shinyee.tan@mongodb.com Shin Yee Tan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: