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: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • ALL
    • Execution Team 2024-11-25

      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: