[ 
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

Reply via email to