Skip to content

Unify memtx replace code paths w/ and w/o transaction management #11732

@CuriousGeorgiy

Description

@CuriousGeorgiy

Currently, we have 2 separate code paths for memtx replace w/ and w/o transaction management, and the transaction manager is taking the responsibility for replacing the tuple in the indexes.

Let's separate concerns and have a common replace code path. We will then simply notify the transaction manager about individual index replaces, and it will take care of the read/write set tracking.

This way the transaction management API will be easy to scale for multikey indexes (#6385), which require a series of ordinary index replaces.

Metadata

Metadata

Labels

code healthImprove code readability, simplify maintenance and so onmemtxmvccrefactoringCode refactoring

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions