[ 
https://issues.apache.org/jira/browse/HDDS-13962?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Swaminathan Balachandran resolved HDDS-13962.
---------------------------------------------
    Resolution: Fixed

> Make Bootstrap Lock acquire DAGBasedLeveledResourceLock
> -------------------------------------------------------
>
>                 Key: HDDS-13962
>                 URL: https://issues.apache.org/jira/browse/HDDS-13962
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Swaminathan Balachandran
>            Assignee: Swaminathan Balachandran
>            Priority: Major
>              Labels: pull-request-available
>
> Make Bootstrap lock acquire DAGBasedLeveledResourceLock and add 
> SNAPSHOT_GC_LOCK, SNAPSHOT_DB_LOCK, SNAPSHOT_DB_CONTENT_LOCK, 
> SNAPSHOT_LOCAL_DATA_LOCK as it's children this is to ensure Bootstrap lock is 
> never taken in other order to enforce correct lock ordering. 
> The OMDBCheckpointServlet implementation has to acquire a full stripe write 
> lock to acquire a lock.
> This makes the design also very extensible since adding a service just has to 
> acquire a read lock on BOOTSTRAP_LOCK on a key and no need to change anything 
> on OmDbCheckpointServlet implementation which makes it foolproof.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to