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

Make sure that RecoveryUnit::commit() can safely throw WriteConflictException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • 3.1.7
    • Storage
    • None
    • Fully Compatible
    • ALL
    • Quint Iteration 7

    Description

      Our first implementation of CC in RocksDB was to resolute conflicts in the commit() call. However, there are two things that didn't work:
      1) Some commit() calls don't catch WriteConflictException. One example is db/commands/mr.cpp
      2) Mongo expects commit() to succeed because of https://jira.mongodb.org/browse/SERVER-15192

      We're currently transitioning our CC implementation to check conflicts on write rather than commit. However, in the future we might want to transition back to commit-time-resolution.

      Attachments

        Issue Links

          Activity

            People

              geert.bosch@mongodb.com Geert Bosch
              igor Igor Canadi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: