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

Improve retry behavior of non-txn writes conflicting with txns

    • Type: Icon: Question Question
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Concurrency, Storage
    • None
    • Storage NYC 2019-03-25, Storage NYC 2019-04-08, Storage NYC 2019-05-06

      Currently client applications that use transactions may have conflicting non-transactional writes that keep retrying even when no transactions have committed, potentially leading to starvation of the in-progress transaction. For prepare conflicts, we at least block until a prepared transaction has been committed, ensuring forward progress, but for regular conflicts with in-progress transactions we don't.

      This ticket is to improve this behavior by having threads with write conflicts wait until they can get a newer snapshot.

            Assignee:
            geert.bosch@mongodb.com Geert Bosch
            Reporter:
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: