Skip to content

Conversation

@hemantk-12
Copy link
Contributor

What changes were proposed in this pull request?

As part of the change #4680 (comment), 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.

Copy link
Contributor

@swamirishi swamirishi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Thanks for the patch @hemantk-12

@hemantk-12 hemantk-12 merged commit b11b807 into apache:master May 13, 2024
@hemantk-12
Copy link
Contributor Author

Thanks @swamirishi for the review.

jojochuang pushed a commit to jojochuang/ozone that referenced this pull request May 23, 2024
@hemantk-12 hemantk-12 deleted the HDDS-9039-2 branch October 28, 2024 18:40
swamirishi pushed a commit to swamirishi/ozone that referenced this pull request Dec 3, 2025
…on when tarball creation is in progress (apache#6552)

Change-Id: I2a4619e071a3ea9791f685aff72000e26e247494
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

snapshot https://issues.apache.org/jira/browse/HDDS-6517

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants