You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Blake Eggleston (JIRA)" <ji...@apache.org> on 2017/08/11 17:32:00 UTC

[jira] [Updated] (CASSANDRA-13688) Anticompaction race can leak sstables/txn

     [ https://issues.apache.org/jira/browse/CASSANDRA-13688?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Blake Eggleston updated CASSANDRA-13688:
----------------------------------------
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Finally got a good dtest run. Committed as {{e9cc805db1133982c022657f8cab86cd24b3686f}}

> Anticompaction race can leak sstables/txn
> -----------------------------------------
>
>                 Key: CASSANDRA-13688
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13688
>             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
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org