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.

(cherry picked from commit 6f37863)
  • Loading branch information
danny0405 authored and XuQianJin-Stars committed Jun 5, 2022
1 parent b4cd48e commit 4fdddc5
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1465,8 +1465,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 4fdddc5

Please sign in to comment.