Skip to content

Commit

Permalink
[HUDI-4114] Remove the unnecessary fs view sync for BaseWriteClient#i…
Browse files Browse the repository at this point in the history
…nitTable (apache#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 authored May 19, 2022
1 parent 6573469 commit 6f37863
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6f37863

Please sign in to comment.