sadanand48 opened a new pull request, #9585: URL: https://github.com/apache/ozone/pull/9585
## What changes were proposed in this pull request? Because of fixes in [HDDS-13905](https://issues.apache.org/jira/browse/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). ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-13906 ## How was this patch tested? Will add tests -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
