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

Zhao Yang updated CASSANDRA-18019:
----------------------------------
    Description: 
In {{CounterMutationVerbHandler}}, the counter leader will respond success to 
coordinator in a {{callback}} which is used to create 
{{AbstractWriteResponseHandler}} for contacting counter replicas.

The {{AbstractWriteResponseHandler}} will trigger the {{callback}} in two cases:
 # when the handler meets consistency level requirement, it's correct to 
respond success to coordinator.
 # when the handler failed ({{blockFor + failures > replicas}}), it should 
respond failure instead of success to coordinator.

  was:
In {{CounterMutationVerbHandler}}, the counter leader will respond success to 
coordinator in a {{callback}} which is used to create 
{{AbstractWriteResponseHandler}} for contacting counter replicas.

The {{AbstractWriteResponseHandler}} will trigger the {{callback}} in two cases:
 # when the handler meets consistency level requirement, it's correct to 
respond success to local coordinator.
 # when the handler failed ({{blockFor + failures > replicas}}), it should 
respond failure instead of success to local coordinator.


> Counter leader may respond success to coordinator even if counter replica 
> response handler failed
> -------------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-18019
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18019
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Feature/Counters
>            Reporter: Zhao Yang
>            Priority: Normal
>
> In {{CounterMutationVerbHandler}}, the counter leader will respond success to 
> coordinator in a {{callback}} which is used to create 
> {{AbstractWriteResponseHandler}} for contacting counter replicas.
> The {{AbstractWriteResponseHandler}} will trigger the {{callback}} in two 
> cases:
>  # when the handler meets consistency level requirement, it's correct to 
> respond success to coordinator.
>  # when the handler failed ({{blockFor + failures > replicas}}), it should 
> respond failure instead of success to coordinator.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to