branch-3.0: [fix](iceberg)Fix the inconsistency between the data in pg and the data in MinIO. #50578#50640
Merged
morningman merged 1 commit intobranch-3.0from May 14, 2025
Merged
Conversation
Contributor
|
Thank you for your contribution to Apache Doris. Please clearly describe your PR:
|
Contributor
|
run buildall |
Contributor
Author
|
PR approved by at least one committer and no changes requested. |
Contributor
Author
|
PR approved by anyone and no changes requested. |
…ta in MinIO. (#50578) ### What problem does this PR solve? Problem Summary: Part of the metadata of an Iceberg table is stored in PostgreSQL (PG), while the remaining data files are stored in MinIO. However, the data in PG is saved on the local disk, whereas the data in MinIO is not saved on the local disk. Therefore, when a user modifies the Iceberg table and then restarts Docker, at this time, the data in PG is the data after the user's modification, but the data in MinIO has not been updated to the modified version. So, the data in MinIO should also be saved on the local disk. In this way, we can ensure the consistency of the data between PG and MinIO.
c18be40 to
76f97b1
Compare
Contributor
|
run buildall |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cherry-picked from #50578