-
Notifications
You must be signed in to change notification settings - Fork 2.5k
[HUDI-2475] [HUDI-2862] Metadata table creation and avoid bootstrapping race for write client & add locking for upgrade #4114
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
Changes from all commits
5470c64
b3e0c78
4b30fd3
b65bdb3
9665eaa
9e10dc7
fe36fdf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -369,7 +369,8 @@ public void completeCompaction( | |
| // commit to data table after committing to metadata table. | ||
| // Do not do any conflict resolution here as we do with regular writes. We take the lock here to ensure all writes to metadata table happens within a | ||
| // single lock (single writer). Because more than one write to metadata table will result in conflicts since all of them updates the same partition. | ||
| table.getMetadataWriter().ifPresent(w -> w.update(metadata, compactionInstant.getTimestamp(), table.isTableServiceAction(compactionInstant.getAction()))); | ||
| table.getMetadataWriter(compactionInstant.getTimestamp()).ifPresent( | ||
|
||
| w -> w.update(metadata, compactionInstant.getTimestamp(), table.isTableServiceAction(compactionInstant.getAction()))); | ||
| LOG.info("Committing Compaction {} finished with result {}.", compactionCommitTime, metadata); | ||
| CompactHelpers.getInstance().completeInflightCompaction(table, compactionCommitTime, metadata); | ||
| } finally { | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.