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

C. Scott Andreas updated CASSANDRA-14642:
-----------------------------------------
    Component/s: Compaction

> Document lock handling in CompactionStrategyManager
> ---------------------------------------------------
>
>                 Key: CASSANDRA-14642
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14642
>             Project: Cassandra
>          Issue Type: New Feature
>          Components: Compaction
>            Reporter: Marcus Eriksson
>            Priority: Minor
>             Fix For: 3.11.x, 4.x
>
>
> noticed that this comment is out-of-date since CASSANDRA-13948
> {code}
>         // we need a write lock here since we move sstables from one strategy 
> instance to another
>         readLock.lock();
> {code}
> we should update the comments and make sure it is actually correct to just 
> grab a read lock here.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to