Skip to content

Commit 6f37863

Browse files
authored
[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.
1 parent 6573469 commit 6f37863

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

hudi-client/hudi-client-common/src/main/java/org/apache/hudi/client/BaseHoodieWriteClient.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1466,8 +1466,6 @@ protected final HoodieTable initTable(WriteOperationType operationType, Option<S
14661466

14671467
// Validate table properties
14681468
metaClient.validateTableProperties(config.getProps());
1469-
// Make sure that FS View is in sync
1470-
table.getHoodieView().sync();
14711469

14721470
switch (operationType) {
14731471
case INSERT:

0 commit comments

Comments
 (0)