You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "C. Scott Andreas (JIRA)" <ji...@apache.org> on 2018/11/18 17:48:00 UTC

[jira] [Updated] (CASSANDRA-14642) Document lock handling in CompactionStrategyManager

     [ 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org