-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rangefeed: add non-fatal assertion for commit intent resolve ts
This patch adds a non-fatal assertion for commit intent operations that are emitted below the resolved timestamp. A known bug will do just this, so the assertion is kept non-fatal to avoid disruption, but it will confirm whether a cluster is hitting the bug. The log messages are of the form: ``` E240123 10:49:00.052256 57 kv/kvserver/rangefeed/resolved_timestamp.go:162 [n1,s1,r7/1:‹/Table/{3-4}›,rangefeed] 1 resolved timestamp 0.000000024,0 equal to or above timestamp of operation txn_id:a55c0992-581b-4cb2-97bf-fd9e22f7a657 key:"foo" timestamp:<wall_time:45 > value:"bar" ``` Epic: none Release note: None
- Loading branch information
1 parent
0ad77cf
commit 4ddc7ae
Showing
3 changed files
with
66 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.