[ 
http://jira.amdatu.org/jira/browse/AMDATUCASSANDRA-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivo Ladage - van Doorn resolved AMDATUCASSANDRA-176.
----------------------------------------------------

    Resolution: Fixed

Added monitor for r/w locks on the Keyspace -> ColumnFamily type map
                
> Excessive lock contention on CassandraClientServiceImpl caused by keyspace -> 
> CF type map
> -----------------------------------------------------------------------------------------
>
>                 Key: AMDATUCASSANDRA-176
>                 URL: http://jira.amdatu.org/jira/browse/AMDATUCASSANDRA-176
>             Project: Amdatu Cassandra
>          Issue Type: Bug
>          Components: Cassandra client
>    Affects Versions: 0.2.2
>            Reporter: Ivo Ladage - van Doorn
>            Assignee: Ivo Ladage - van Doorn
>             Fix For: 0.2.3
>
>
> The getColumnType method in CassandraClientServiceImpl is invoked from the PM 
> to determine the type of the Column Family, for example in the getRowKeys, 
> getValue and setValue methods. The getColumnType method is, as most of its 
> methods, synchronized. When a tenant is added, a new keyspace is added and 
> the addKeyspace method will hold the lock on this object. This blocks all 
> calls to getValue and setValue, even for other tenants.
> The internal keyspace -> CF type map should use its own monitor for 
> read/write locks, reducing lock contention.

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

        
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to