amoro icon indicating copy to clipboard operation
amoro copied to clipboard

[Bug]: Data inconsistency caused by switching between primary and backup nodes

Open CatchYouIfICan opened this issue 4 months ago • 4 comments

What happened?

Image During the primary backup switch, Amoro experienced a stuck table optimization task due to inconsistent data. The specific process is shown in the figure.

Affects Versions

0.8.x

What table formats are you seeing the problem on?

Iceberg

What engines are you seeing the problem on?

AMS

How to reproduce

No response

Relevant log output


Anything else

No response

Are you willing to submit a PR?

  • [ ] Yes I am willing to submit a PR!

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

CatchYouIfICan avatar Aug 28 '25 08:08 CatchYouIfICan

Seems that node1 can't update the optimizing status after it becomes a follower?

klion26 avatar Aug 28 '25 12:08 klion26

I would like to take this issue. Please assign it to me. @zhangwl9

zhangwl9 avatar Aug 29 '25 02:08 zhangwl9

@zhangwl9 You can comment a single take in the comment to have the issue assigned to yourself now

klion26 avatar Aug 29 '25 02:08 klion26

Seems that node1 can't update the optimizing status after it becomes a follower?

Because the thread will continue to complete unfinished work before completely exiting.

CatchYouIfICan avatar Aug 29 '25 02:08 CatchYouIfICan