Skip to content
Snippets Groups Projects
  1. Jan 23, 2023
    • Georgiy Lebedev's avatar
      memtx: fix definition of old story in MVCC insert statement preparation · d7cf6f60
      Georgiy Lebedev authored
      During preparation of insert statements in MVCC, we define an old story and
      abort all transactions that delete this story.
      
      If there exists an older
      story in the history chain, but the story is deleted by a prepared (not
      necessarily committed) transaction, we consider that it de-facto does not
      exist anymore — this logic is consistent, since during preparation of the
      transaction deleting this story, the conflict resolution described above
      was already done.
      
      In this manner, there can be no more than one prepared statement deleting
      a story at any point in time.
      
      Closes #8104
      
      NO_DOC=bugfix
      d7cf6f60
Loading