-
Notifications
You must be signed in to change notification settings - Fork 7
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
base: palantir-cassandra-2.2.18
Are you sure you want to change the base?
Conversation
if (!readyToFinish) { | ||
// TODO(wdey): refactor all of the trys | ||
try (Refs closedRefs = refs; CompactionController closedController = controller) {} | ||
} |
There was a problem hiding this comment.
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
src/java/org/apache/cassandra/db/lifecycle/LifecycleTransaction.java
Outdated
Show resolved
Hide resolved
@@ -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 |
There was a problem hiding this comment.
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
No description provided.