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

Speculative transactions do not wait on commit on secondaries

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Replication
    • ALL

      On primaries, we handle speculative transactions by waiting for the read op time to become majority committed by treating it as a write op time when we commit the transaction with write concern majority.

      On secondaries, this doesn't work. If we wait for write concern on secondaries, we get a "stepped down" error. We either need to special-case read-only transactions so they can use a write concern on secondaries, or find another mechanism to wait.

            Assignee:
            backlog-server-repl [DO NOT USE] Backlog - Replication Team
            Reporter:
            matthew.russotto@mongodb.com Matthew Russotto
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: