jacek-lewandowski commented on code in PR #2190:
URL: https://github.com/apache/cassandra/pull/2190#discussion_r1127391745
##########
src/java/org/apache/cassandra/service/accord/AccordService.java:
##########
@@ -226,7 +226,7 @@ public TxnData coordinate(Txn txn, ConsistencyLevel
consistencyLevel)
private static RuntimeException throwTimeout(Txn txn, ConsistencyLevel
consistencyLevel)
{
- throw txn.isWrite() ? new WriteTimeoutException(WriteType.TRANSACTION,
consistencyLevel, 0, 0)
+ throw txn.isWrite() ? new WriteTimeoutException(WriteType.CAS,
consistencyLevel, 0, 0)
Review Comment:
Since one driver will support that value and the other will not - wouldn't
it be worth making it somehow dynamically adjust to the driver version?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]