New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ISPN-8712 BiasRevocationTest.testFailedRevocationDuringPutAllOnNonOwn… #5692
ISPN-8712 BiasRevocationTest.testFailedRevocationDuringPutAllOnNonOwn… #5692
Conversation
…erThrowBefore random failures * Avoid NullPointerException in EntryWrappingInterceptor when resetting the context entries for a retried command. * Wrap triangle ACK exceptions on the originator * Use the same logic as for synchronous commands, preserving OutdatedTopologyExceptions.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Having a deterministic reproducer would be better, but likely not worth it.
@@ -17,6 +21,7 @@ | |||
* @since 9.0 | |||
*/ | |||
public class ExceptionAckCommand extends BaseRpcCommand { | |||
private static final Log log = LogFactory.getLog(ExceptionAckCommand.class); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forgot about this comment, sorry.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Me too, I've checked just tests and merged... let's not worry about that.
@@ -235,7 +234,7 @@ private BlockingRunnable createIndirectRpcRunnable(SingleRpcCommand command, int | |||
return new DefaultTopologyRunnable(this, command, Reply.NO_OP, TopologyMode.READY_TX_DATA, commandTopologyId, false) { | |||
@Override | |||
protected void onException(Throwable throwable) { | |||
sendExceptionAck(writeCommand.getCommandInvocationId(), new RemoteException("Exception on " + localAddress, throwable), commandTopologyId); | |||
sendExceptionAck(writeCommand.getCommandInvocationId(), throwable, commandTopologyId); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you have any reason to drop the RemoteException wrapping? I probably found useful having the address of exception source at hand...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Except for OutdatedTopologyException
and AvailabilityException
, the wrapping still happens.
…erThrowBefore random failures
https://issues.jboss.org/browse/ISPN-8712
when resetting the context entries for a retried command.
OutdatedTopologyExceptions.