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/29 18:56:00 UTC
[jira] [Resolved] (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 resolved HUDI-2573.
---------------------------------------
Resolution: Fixed
> 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: Sub-task
> Reporter: sivabalan narayanan
> Assignee: sivabalan narayanan
> Priority: Blocker
> Labels: pull-request-available, release-blocker, sev:critical
> Fix For: 0.10.0
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> 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)