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

Coordinator should not process prepare responses if no longer in state 'waitingForVotes'

    XMLWordPrintable

Details

    • Fully Compatible
    • ALL
    • Sharding 2018-11-19
    • 0

    Description

      This fix is not ideal, because it means the coordinator will send abort to all participants who vote abort after the first participant who votes abort.

      Note, because abortTransaction is sent to
      1. all participants who voted to commit before the vote abort was received
      2. all participants whose vote was received after the vote abort

      and single-shard transactions do not use a two-phase commit, this guarantees that the number of non-voted abort participants in sendAbort will be > 0.

      Attachments

        Activity

          People

            esha.maharishi@mongodb.com Esha Maharishi
            esha.maharishi@mongodb.com Esha Maharishi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: