cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-3386) Avoid lock contention in hint rows
Date Wed, 19 Oct 2011 20:33:10 GMT

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

Jonathan Ellis updated CASSANDRA-3386:
--------------------------------------

    Attachment: 3386.txt

Patch skips the synchronization when there are no mutated index columns. (I'm 99% sure that's
the only reason we need to lock there...)
                
> Avoid lock contention in hint rows
> ----------------------------------
>
>                 Key: CASSANDRA-3386
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3386
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 0.7.0
>            Reporter: Jonathan Ellis
>            Assignee: Jonathan Ellis
>             Fix For: 0.8.8, 1.0.1
>
>         Attachments: 3386.txt
>
>
> As pointed out by Yang in CASSANDRA-3385, hint writes are keyed by target IP, to make
replay efficient. However, this means that we'll hit a lot of lock contention in table.apply
where we synchronize for potential index updates.

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

        

Mime
View raw message