codope commented on code in PR #8758:
URL: https://github.com/apache/hudi/pull/8758#discussion_r1232157917
##########
hudi-client/hudi-client-common/src/main/java/org/apache/hudi/metadata/HoodieBackedTableMetadataWriter.java:
##########
@@ -432,6 +468,7 @@ private boolean initializeFromFilesystem(String
initializationTime, List<Metadat
bulkCommit(commitTimeForPartition, partitionType, records,
fileGroupCount);
metadataMetaClient.reloadActiveTimeline();
dataMetaClient.getTableConfig().setMetadataPartitionState(dataMetaClient,
partitionType, true);
+ initMetadataReader();
Review Comment:
Let's keep it here itself because this call will init
`HoodieBackedTableMetadata` which will check whether MDT is initialized or not
based in table config, which get updated only after
`dataMetaClient.getTableConfig().setMetadataPartitionState`.
--
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]