Skip to content
Permalink
Browse files
[HUDI-4114] Remove the unnecessary fs view sync for BaseWriteClient#i…
…nitTable (#5617)

No need to #sync actively because the table instance is instantiated freshly,
its view manager has empty fiew instantces, the fs view would be synced lazily when
is it requested.
  • Loading branch information
danny0405 committed May 19, 2022
1 parent 6573469 commit 6f37863ba8ded3f5550cf608b3e42fe197331ed4
Showing 1 changed file with 0 additions and 2 deletions.
@@ -1466,8 +1466,6 @@ protected final HoodieTable initTable(WriteOperationType operationType, Option<S

// Validate table properties
metaClient.validateTableProperties(config.getProps());
// Make sure that FS View is in sync
table.getHoodieView().sync();

switch (operationType) {
case INSERT:

0 comments on commit 6f37863

Please sign in to comment.