Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
May 13, 2024

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
39 checks passed
@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
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