dcapwell commented on code in PR #2660:
URL: https://github.com/apache/cassandra/pull/2660#discussion_r1327792893
##########
src/java/org/apache/cassandra/repair/RepairMessageVerbHandler.java:
##########
@@ -172,14 +194,23 @@ public void doVerb(final Message<RepairMessage> message)
ColumnFamilyStore store =
ColumnFamilyStore.getIfExists(desc.keyspace, desc.columnFamily);
if (store == null)
{
- logger.error("Table {}.{} was dropped during
validation phase of repair {}",
- desc.keyspace, desc.columnFamily,
desc.parentSessionId);
- vState.phase.fail(String.format("Table %s.%s was
dropped", desc.keyspace, desc.columnFamily));
-
MessagingService.instance().send(Message.out(VALIDATION_RSP, new
ValidationResponse(desc)), message.from());
+ String msg = String.format("Table %s.% was dropped
during validation phase of repair %s", desc.keyspace, desc.columnFamily,
desc.parentSessionId);
+ vState.phase.fail(msg);
+ logErrorAndSendFailureResponse(msg, message);
Review Comment:
this case doesn't need `VALIDATION_RSP` and can work just fine with the
failing ack, removed for now
--
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]