From 5608887388d04850d78a0fe322eb6130f269da7c Mon Sep 17 00:00:00 2001 From: "yuzhao.cyz" Date: Wed, 18 May 2022 10:23:22 +0800 Subject: [PATCH] [HUDI-4114] Remove the unnecessary fs view sync for BaseWriteClient#initTable 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. --- .../main/java/org/apache/hudi/client/BaseHoodieWriteClient.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/BaseHoodieWriteClient.java b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/BaseHoodieWriteClient.java index 2f425acbc7f2b..723bd33b8c401 100644 --- a/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/BaseHoodieWriteClient.java +++ b/hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/BaseHoodieWriteClient.java @@ -1466,8 +1466,6 @@ protected final HoodieTable initTable(WriteOperationType operationType, Option