nsivabalan commented on code in PR #12174:
URL: https://github.com/apache/hudi/pull/12174#discussion_r1838342292
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/metadata/HoodieBackedTableMetadataWriter.java:
##########
@@ -207,7 +207,7 @@ private void initMetadataReader() {
}
private HoodieMetadataFileSystemView getMetadataView() {
- if (metadataView == null) {
+ if (metadataView == null ||
!metadataView.equals(metadata.getMetadataFileSystemView())) {
Review Comment:
I am not sure I get this fix. our Metadata writers are shotlived in general.
We just create a new writer, initial new partitions, apply updates for a given
commit and close it out.
So, how come metadataView can be out of sync ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]