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

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

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

      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@mongodb.com Geert Bosch
            Reporter:
            igor Igor Canadi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: