ozone icon indicating copy to clipboard operation
ozone copied to clipboard

HDDS-9039. Removed the pause and wait in RocksDB compaction when tarball creation is in progress

Open hemantk-12 opened this issue 10 months ago • 0 comments

What changes were proposed in this pull request?

As part of the change https://github.com/apache/ozone/pull/4680#issuecomment-1553512855, it was asked to add sequence number to compaction logs (HDDS-8652) and later pause in the RocksDB compaction when tarball creation is in progress (HDDS-9004 and HDDS-9064). These changes were valid when a text file was used to store compaction log entries. After HDDS-9311, compaction logs were migrated to the RocksDB column family. Now we can simply rely on RocksDB's synchronization. Either the compaction entry will be present in the compactionLog columnFamily or not in the snapshot of the ActiveFS depending on the order of compaction entry append and checkpoint creation.

This change is to remove the wait and notify logic between RocksDB's compaction and tarball creation.

What is the link to the Apache JIRA

HDDS-9039

How was this patch tested?

Updated existing unit tests.

hemantk-12 avatar Apr 17 '24 22:04 hemantk-12