You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2013/05/08 06:33:15 UTC

[jira] [Created] (CASSANDRA-5549) Remove Table.switchLock

Jonathan Ellis created CASSANDRA-5549:
-----------------------------------------

             Summary: Remove Table.switchLock
                 Key: CASSANDRA-5549
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5549
             Project: Cassandra
          Issue Type: Bug
            Reporter: Jonathan Ellis
             Fix For: 2.0


As discussed in CASSANDRA-5422, Table.switchLock is a bottleneck on the write path.  ReentrantReadWriteLock is not lightweight, even if there is no contention per se between readers and writers of the lock (in Cassandra, memtable updates and switches).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira