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

Remove claims of prepare behavior from linearizable reads

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Replication

      As a premise, 5.0 introduced an optimization for sharded transactions to return to the client after the decision was persisted but before the participating shards commit their local storage transactions. That optimization made it incorrect for linearizable reads to ignore prepare conflicts.

      I have no evidence we actually change the prepare conflict behavior for linearizable reads, but we do have code that suggests we may have at some point. That code (according to a patch run) can be deleted.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            daniel.gottlieb@mongodb.com Daniel Gottlieb (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated: