aweisberg commented on code in PR #3777:
URL: https://github.com/apache/cassandra/pull/3777#discussion_r1915513505
##########
src/java/org/apache/cassandra/batchlog/BatchlogManager.java:
##########
@@ -454,12 +454,12 @@ public void finish(Set<UUID> hintedNodes)
if (accordResult != null)
{
IAccordService accord = AccordService.instance();
- TxnResult.Kind kind = accord.getTxnResult(accordResult,
true, ConsistencyLevel.QUORUM, accordTxnStart).kind();
+ TxnResult.Kind kind =
accord.getTxnResult(accordResult).kind();
if (kind == retry_new_protocol)
throw new RetryOnDifferentSystemException();
}
}
- catch
(WriteTimeoutException|WriteFailureException|RetryOnDifferentSystemException e)
+ catch (WriteTimeoutException | WriteFailureException |
RetryOnDifferentSystemException | TopologyMismatch e)
Review Comment:
OK I found where it happens, `HintsMessage` during deserialization
automatically discards hints for tables it can't handle.
--
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]