bdeggleston commented on code in PR #3228:
URL: https://github.com/apache/cassandra/pull/3228#discussion_r1550199055
##########
test/distributed/org/apache/cassandra/distributed/impl/AbstractCluster.java:
##########
@@ -1066,11 +1092,23 @@ private void uncaughtExceptions(Thread thread,
Throwable error)
return;
}
+ if (!ownsThread(thread))
+ {
+ // another cluster hit us... which one?
+ for (AbstractCluster<?> cluster : ALL_CLUSTERS)
+ {
+ if (cluster == this || !cluster.ownsThread(thread)) continue;
+ cluster.uncaughtExceptions(thread, error);
+ break;
+ }
+ return;
Review Comment:
we should handle the case where no clusters think they own the exception and
log it so that we don't swallow exceptions
--
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]