apache / amoro

Apache Amoro (incubating) is a Lakehouse management system built on open data lake formats.
https://amoro.apache.org/
Apache License 2.0
748 stars 261 forks source link

[AMORO-2934] Update lastOptimizedSnapshotId to currentSnapshotId When there is no task to be optimized #2943

Closed zhongqishang closed 2 weeks ago

zhongqishang commented 2 weeks ago

Why are the changes needed?

Close #2934 .

Brief change log

-

How was this patch tested?

Documentation

zhoujinsong commented 2 weeks ago

Another important reason for the occurrence of this bug is the incorrect judgment that triggers full-optimizing( even in cases where there is only one file). Although this PR can largely mitigate the impact of this bug, we still need to continue fixing the logic for determining full-optimizing.