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

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.1.7
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • Quint Iteration 7
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Geert Bosch
              Reporter:
              Igor Canadi
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: