[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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user