[Feature]: A new design of resolving data conflicts without relying on AMS to generate TransactionId #994
Closed
2 tasks done
Labels
type:feature
Feature Requests
Milestone
Description
To resolve the data conflict of Arctic KeyedTable(Mixed-format table) with concurrent batch write and stream write, we introduce a design of version for each record, in order to keep the data with a higher version when row conflicts arise.
Use case/motivation
In the case of a concurrent batch write and stream write, row conflicts are likely to arise, especially when batch write takes a long time, and the batch write will fail to commit.
We have introduced
TransactionId
andoffset
to determine the record version, but the generation ofTransactionId
relies on the AMS, which leads to reliability issues for data writing.Describe the solution
The design of the record version:
Version = (TransactionId, offset)
Two ways to generate
TransactionId
:Subtasks
No response
Related issues
No response
Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: