[ 
https://issues.apache.org/jira/browse/CASSANDRA-5442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13627605#comment-13627605
 ] 

Sylvain Lebresne commented on CASSANDRA-5442:
---------------------------------------------

We should use a different WriteType value in the WriteTimeoutException 
returned, similarly to what we do for atomic batch writes (WriteType.BATCH_LOG 
means its the write to the batch log that has timeout, WriteType.BATCH means 
it's the write of the batch itself).

For thrift, we don't have the WriteType value so far, and for atomic batches 
we've added a special case acknowledged_by_batchlog boolean, so I guess we can 
do the same in that case and add acknoweledged_by_paxos (or some other name) 
flag. Would probably have been easier to just expose the WriteType there too in 
the first place but well, we haven't.

                
> Add support for specifying CAS commit CL
> ----------------------------------------
>
>                 Key: CASSANDRA-5442
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5442
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API, Core
>            Reporter: Jonathan Ellis
>             Fix For: 2.0
>
>


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