Skip to content

Races between transactions on the primary side may cause update conflicts while applying journals to the replica #7052

@dyemanov

Description

@dyemanov

Currently there may be a gap between marking the transaction as committed in TIP and inside the journal. In the meanwhile, other transactions may already see the first transaction as committed and write something to the journal that may later conflict with the first transaction. The more reliable order would be to write the journal first (write-ahead-logging).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions