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

Michael Semb Wever updated CASSANDRA-14642:
-------------------------------------------
    Issue Type: Task  (was: New Feature)

> Document lock handling in CompactionStrategyManager
> ---------------------------------------------------
>
>                 Key: CASSANDRA-14642
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14642
>             Project: Cassandra
>          Issue Type: Task
>          Components: Local/Compaction
>            Reporter: Marcus Eriksson
>            Priority: Low
>             Fix For: 3.11.x, 5.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
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to