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

TemporaryKVRecordStore should reset the _recordStoreHasBeenFinalized flags state on a WriteConflictException

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.7.0
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2020-08-24
    • 129

      It's possible for TemporaryKVRecordStore::finalizeTemporaryTable() to throw a WriteConflictException and for the MultiIndexBlock to retry. However, because the _recordStoreHasBeenFinalized flag does not get reset, a second attempt to calling TemporaryKVRecordStore::finalizeTemporaryTable() will invariant.

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: