Davis Zhang created HUDI-8490:
---------------------------------

             Summary: Remove table name from the lock key used by lock provider
                 Key: HUDI-8490
                 URL: https://issues.apache.org/jira/browse/HUDI-8490
             Project: Apache Hudi
          Issue Type: Bug
            Reporter: Davis Zhang


For implicit lock provider, the lock key is derived as <tablename>-<hash of 
table basepath>

this is problematic in case of alter table rename, some writers are using the 
old lock key while others are using the new one, which leads to concurrency bug 
as the lock fails to synchronize operations from concurrent operators.

Alter rename should not have coupling with locks, so to remove the dependency, 
we removed the table name from the lock key for both implicit ddb and zookeeper 
lock provider.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to