cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CASSANDRA-1293) add locking around row cache accesses
Date Fri, 01 Oct 2010 20:45:34 GMT

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

Jonathan Ellis updated CASSANDRA-1293:
--------------------------------------

    Attachment: 1293.txt

We expect to save [cache hit rate] of a read per write with write-through, since the alternative
is to invalidate the cached row at write time and reload it when it's requested again.

Attached patch moves the cache udpate into CFS.apply.

> add locking around row cache accesses
> -------------------------------------
>
>                 Key: CASSANDRA-1293
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1293
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Jonathan Ellis
>            Priority: Minor
>             Fix For: 0.7.0
>
>         Attachments: 1293.txt
>
>
> CASSANDRA-1267 means we need to lock around removeDeleted on the row cache entry and
the write path where we merge in new columns (otherwise there can be a race where we incorrectly
continue to remove a column, that has been updated by the writer thread to be newly relevant)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message