You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by "sivabalan narayanan (Jira)" <ji...@apache.org> on 2021/10/18 14:31:00 UTC
[jira] [Updated] (HUDI-2573) Deadlock w/ multi writer due to double
locking
[ https://issues.apache.org/jira/browse/HUDI-2573?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
sivabalan narayanan updated HUDI-2573:
--------------------------------------
Summary: Deadlock w/ multi writer due to double locking (was: Deadlock w/ multi writer )
> Deadlock w/ multi writer due to double locking
> ----------------------------------------------
>
> Key: HUDI-2573
> URL: https://issues.apache.org/jira/browse/HUDI-2573
> Project: Apache Hudi
> Issue Type: Bug
> Reporter: sivabalan narayanan
> Assignee: sivabalan narayanan
> Priority: Major
> Fix For: 0.10.0
>
>
> With synchronous metadata patch, we added locking for cleaning and rollbacks. but there are code paths, where we do double locking and hence it hangs or fails after sometime.
>
> inline cleaning enabled.
>
> C1 acquires lock.
> post commit -> triggers cleaning.
> cleaning again tries to acquire lock when about to commit and this is problematic.
>
> Also, when upgrade is needed, we take a lock and rollback failed writes. this again will run into issues w/ double locking.
>
>
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)