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

ASF GitHub Bot updated HDDS-13906:
----------------------------------
    Labels: pull-request-available  (was: )

> Reduce Bootstrap Write lock time on OM during bootstrapping execution
> ---------------------------------------------------------------------
>
>                 Key: HDDS-13906
>                 URL: https://issues.apache.org/jira/browse/HDDS-13906
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Swaminathan Balachandran
>            Assignee: Wei-Chiu Chuang
>            Priority: Major
>              Labels: pull-request-available
>
> Because of fixes in HDDS-13905 an entire BG service task would be blocked 
> because of bootstrap operation running on a leader OM. One possible 
> improvement here would be to just to create a hardlink(which we already do to 
> ensure this file doesn't get deleted by rocksdb operations but we also write 
> the file into the Tarball stream synchronously 
> https://github.com/apache/ozone/blob/96390ac142725195315906400a633f316c899702/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/Archiver.java#L135-L155)
>  to the file to be copied into tar outputStream into a tmp directory under 
> the bootstrap lock and write all the entries corresponding to the link 
> created outside the lock(The entry should also include the hardLinkFile 
> created in the last batch). 



--
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