1
0

[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.
This commit is contained in:
Danny Chan
2022-05-19 10:59:05 +08:00
committed by GitHub
parent 6573469e73
commit 6f37863ba8

View File

@@ -1466,8 +1466,6 @@ public abstract class BaseHoodieWriteClient<T extends HoodieRecordPayload, I, K,
// Validate table properties
metaClient.validateTableProperties(config.getProps());
// Make sure that FS View is in sync
table.getHoodieView().sync();
switch (operationType) {
case INSERT: