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

Write-ahead log for SSTable deletions #557

Open
wants to merge 19 commits into
base: palantir-cassandra-2.2.18
Choose a base branch
from

Conversation

wi11dey
Copy link
Contributor

@wi11dey wi11dey commented Oct 17, 2024

No description provided.

Comment on lines +232 to 234
if (!readyToFinish) {
// TODO(wdey): refactor all of the trys
try (Refs closedRefs = refs; CompactionController closedController = controller) {}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is unfortunate; we should do something like #549 (comment) as a follow up

@@ -99,6 +101,7 @@ public boolean reduceScopeForLimitedSpace(long expectedSize)
* which are properly serialized.
* Caller is in charge of marking/unmarking the sstables as compacting.
*/
@SuppressWarnings("resource") // It is dangerous to close refs for a failed transaction
Copy link
Contributor

Choose a reason for hiding this comment

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

we should add a larger comment detailing the specifics of what we're trying to avoid/fix here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants