-
Notifications
You must be signed in to change notification settings - Fork 961
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
Should DeletionVectorsMaintainer keep thread-safe? #4579
Comments
flink cdc pipeline write paimon
|
In I think this is a bug in flink-cdc. |
Got it, thanks for explanation. One more question, when the |
@stayrascal If the waitCompaction is false, CompactDeletionFile should be another implementation. I think we can have a check here. |
Got it, thanks. |
Let's fix this issue in flink-cdc, tracked in FLINK-36790 |
Search before asking
Paimon version
master: 16a4058
Compute Engine
flink
Minimal reproduce step
What doesn't meet your expectations?
Not sure if I misunderstand the whole sink process, it seems that the data writing(traverse WriteBuffer and writing) and async compact task running concurrently, so the it might caused that data writing thread modify the deletionVectors of DeletionVectorsMaintainer while the compact thread is traversing the deletionVectors and write to index, and then it leads to CME problem.
if the problem above all mentioned really exists, will we keep the DeletionVectorsMaintainer as a thread-safe maintainer, or change the type of deletionVectors, e.g. queue?
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: