cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Blake Eggleston (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-13751) Race / ref leak in PendingRepairManager
Date Tue, 08 Aug 2017 17:39:00 GMT


Blake Eggleston updated CASSANDRA-13751:
    Reviewer: Marcus Eriksson
      Status: Patch Available  (was: Open)

[dtest (pending)|]

> Race / ref leak in PendingRepairManager
> ---------------------------------------
>                 Key: CASSANDRA-13751
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Blake Eggleston
>            Assignee: Blake Eggleston
>            Priority: Minor
>             Fix For: 4.0
> PendingRepairManager#getScanners has an assertion that confirms an sstable is, in fact,
marked as pending repair. Since validation compactions don't use the same concurrency controls
as proper compactions, they can race with promotion/demotion compactions and end up getting
assertion errors when the pending repair id is changed while the scanners are being acquired.
Also, error handling in PendingRepairManager and CompactionStrategyManager leaks refs when
this happens.

This message was sent by Atlassian JIRA

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

View raw message