Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ public void commit(TableMetadata base, TableMetadata metadata) {
// this rename operation is the atomic commit operation
renameToFinal(fs, tempMetadataFile, finalMetadataFile, nextVersion);

LOG.info("Committed a new metadata file {}", finalMetadataFile);

// update the best-effort version pointer
writeVersionHint(nextVersion);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,8 @@ protected void doCommit(TableMetadata base, TableMetadata metadata) {
} finally {
cleanupMetadataAndUnlock(commitStatus, newMetadataLocation, lockId, tableLevelMutex);
}

LOG.info("Committed to table {} with the new metadata location {}", fullName, newMetadataLocation);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of putting this log in both line 278 and line 297, I put the log here.

}

@VisibleForTesting
Expand Down