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-4542) add atomic_batch_mutate method
Date Fri, 07 Sep 2012 22:06:07 GMT

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

Jonathan Ellis updated CASSANDRA-4542:
--------------------------------------

    Attachment: 4542-diff.txt

Nice work, I think we're almost done!

I've attached a diff with a couple minor changes:

- moves availability check into mutateAtomically
- handles batchlog targets being unavailable

unsure what changes to sendToHintedEndpoints are doing.  if this is just refactoring for clarity
let's back that out for a separate patch.

The big change I think we still need is, batchlog writes shouldn't be doing hinted writes;
if we can't write to the batchlog, too bad, we ignore it and move on.  No sense in replaying
a hint later, after the write itself has probably succeeded.
                
> add atomic_batch_mutate method
> ------------------------------
>
>                 Key: CASSANDRA-4542
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4542
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API, Core
>            Reporter: Jonathan Ellis
>            Assignee: Aleksey Yeschenko
>             Fix For: 1.2.1
>
>         Attachments: 4542-diff.txt, CASSANDRA-4542-4543-4544-v3.patch
>
>
> atomic_batch_mutate will have the same parameters as batch_mutate, but will write to
the batchlog before attempting distribution to the batch rows' replicas.

--
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

Mime
View raw message