You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Marcus Eriksson (JIRA)" <ji...@apache.org> on 2018/08/15 09:06:00 UTC
[jira] [Created] (CASSANDRA-14642) Document lock handling in
CompactionStrategyManager
Marcus Eriksson created CASSANDRA-14642:
-------------------------------------------
Summary: Document lock handling in CompactionStrategyManager
Key: CASSANDRA-14642
URL: https://issues.apache.org/jira/browse/CASSANDRA-14642
Project: Cassandra
Issue Type: New Feature
Reporter: Marcus Eriksson
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