Sagar Sumit created HUDI-6652:
---------------------------------
Summary: Add fine-grained concurrency control in meta sync instead
of synchronizing the the whole sync
Key: HUDI-6652
URL: https://issues.apache.org/jira/browse/HUDI-6652
Project: Apache Hudi
Issue Type: Task
Reporter: Sagar Sumit
Fix For: 0.14.0
Currently, in
[SyncUtilHelpers|https://github.com/apache/hudi/blob/a2db1a9363a68d0dacc7f2970f37f016aefc2951/hudi-sync/hudi-sync-common/src/main/java/org/apache/hudi/sync/common/util/SyncUtilHelpers.java#L56]
runHoodieMetaSync is synchronized. This was done to make access thread-safe.
However, for multi-table deltastreamers, syncs running for different tables
from the same driver would frequently block. We can introduce a fine-grained
concurrency control by taking a lock only for base path/sync tool class.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)