From 4fdddc5fb959d3cbc089b3f094ccf1dac52faf76 Mon Sep 17 00:00:00 2001 From: Danny Chan Date: Thu, 19 May 2022 10:59:05 +0800 Subject: [PATCH] [HUDI-4114] Remove the unnecessary fs view sync for BaseWriteClient#initTable (#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 6f37863ba8ded3f5550cf608b3e42fe197331ed4) --- .../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 17b0155c712aa..c86da88ed5b2c 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 @@ -1465,8 +1465,6 @@ protected final HoodieTable initTable(WriteOperationType operationType, Option