-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
affects-8.4affects-8.5This bug affects the 8.5.x(LTS) versions.This bug affects the 8.5.x(LTS) versions.severity/majorsig/transactionSIG: TransactionSIG: Transactiontype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.
Description
Bug Report
ref #17459
By the definition of resolved-ts, we require:
commit_ts > resolved_ts, if the commit happens after the calculation of the resolved-ts.
Our implementation uses min_commit_ts to calculate resolved-ts, so that what we have is:
commit_ts >= min_commit_ts >= resolved_ts
resolved_ts may be equal to commit_ts, which breaks the definition of resolved-ts.
NOTE: This bug cannot happen in current(v8.4) implementation.
- Only Pipelined DMLs use min_commit_ts for resolved-ts calculation
- These min_commit_ts used are (indirectly) from PD TSO
- This ensures their commit_ts is always greater than min_commit_ts
- Therefore, commit_ts is guaranteed to be greater than resolved-ts
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
affects-8.4affects-8.5This bug affects the 8.5.x(LTS) versions.This bug affects the 8.5.x(LTS) versions.severity/majorsig/transactionSIG: TransactionSIG: Transactiontype/bugThe issue is confirmed as a bug.The issue is confirmed as a bug.