-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ticdc redo apply shouldn't depend on meta #6189
Comments
/label bug-from-internal-test |
The timing should be
Which rule above is broken? |
/cc @CharlesCheung96 |
/label |
/type bug |
/label affects-5.3 |
/label severity/critical |
@hicqu: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
/severity critical |
/remove may-affects-4.0 |
/remove-label may-affects-4.0 |
/remove-label may-affects-5.0 |
/remove-label may-affects-6.0 |
/label affects-6.1 |
/open |
/reopen |
@nongfushanquan: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
after pr 6207, issue 6277 will track the new problem on this situation. |
/close |
@nongfushanquan: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/area ticdc |
Before asking a question, make sure you have
What is your question?
In the current implement, when applying redo log on a given downstream sink, the event timestamp range is specified from
(meta.checkpointTs, meta.resolvedTs]
.redo-log meta file is flushed periodically. However, events can be flushed into downstream sinks after log file is flushed instead of redo-log meta. It makes
cdc redo apply
not be able to ensure downstream integration. For example:ts1
;ts0
, which is less thants1
;ts1
have been flushed into downstream sinks;cdc redo apply
is called with the current redo-meta.ts0
, which breaks the required integration.I have prepared a branch, and please notice the fatal log. And the panic really happens when I run the branch:
The test shows that the above guess is correct.
To resolve the critical bug, we can consider to
checkpointTs
andresolvedTs
into redo-log entryThe text was updated successfully, but these errors were encountered: