cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ariel Weisberg (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-13688) Anticompaction race can leak sstables/txn
Date Thu, 13 Jul 2017 16:50:00 GMT


Ariel Weisberg commented on CASSANDRA-13688:

So there is the issue here
we talked about where it's using the wrong result value to decide whether to clean up.

Maybe run the dtests, but otherwise it looks good.

> Anticompaction race can leak sstables/txn
> -----------------------------------------
>                 Key: CASSANDRA-13688
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Blake Eggleston
>            Assignee: Blake Eggleston
>             Fix For: 4.0
> At the top of {{CompactionManager#performAntiCompaction}}, the parent repair session
is loaded, if the session can't be found, a RuntimeException is thrown. This can happen if
a participant is evicted after the IR prepare message is received, but before the anticompaction
starts. This exception is thrown outside of the try/finally block that guards the sstable
and lifecycle transaction, causing them to leak, and preventing the sstables from ever being
removed from View.compacting.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message