Skip to content

Commit

Permalink
Update docs/design/2024-01-22-ticdc-large-txn-not-block-wm.md
Browse files Browse the repository at this point in the history
Co-authored-by: CharlesCheung <[email protected]>
  • Loading branch information
zhangjinpeng87 and CharlesCheung96 authored Jan 23, 2024
1 parent 9b20925 commit cd66b29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/design/2024-01-22-ticdc-large-txn-not-block-wm.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ In order to prevent the read request and other lock resolving mechanisms disturb
From "How large transactions block the advancing of Resolve TS" section we can see the root cause of large transactions block resolve ts is:

- Current Resolve TS(water mark) calculation depends on the start ts of all ongoing transactions, and the start ts of a large transaction is relevant "old" and not advanced when the large transaction is running.
More reasonable choice is using min-commit-ts of large transactions to calculate the water mark, and same as the TTL, the large transaction periodically update its primary key's min-commit-tsinformation to let the water mark mechanism can advance the water mark smoothly. The following diagram demostrates the basic idea of this new proposal:
More reasonable choice is using min-commit-ts of large transactions to calculate the water mark, and same as the TTL, the large transaction periodically update its primary key's min-commit-ts information to let the water mark mechanism can advance the water mark smoothly. The following diagram demostrates the basic idea of this new proposal:

![image](../media/large-txn-no-block-wm-3.png)

Expand Down

0 comments on commit cd66b29

Please sign in to comment.