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

Test that a retryable write that changes the shard key behaves correctly with conflicting writes

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.11
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding 2019-04-22

    Description

      We should test the following scenarios:

      1. If a concurrent update modifies the same document such that the original update query will still match, we do not lose the conflicting write.
      2. If a concurrent update modifies the same document such that the original update query will NOT match or if a concurrent delete removes this document, we do not modify any document.

      Attachments

        Activity

          People

            janna.golden@mongodb.com Janna Golden
            janna.golden@mongodb.com Janna Golden
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: