Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

After our changes we have been stuck trying to solve testExecuteOp from ConnectionPoolImplJUnitTest. In this section we will include what we have seen so far The test hangs when executing an operation that has been implemented to throw an exception. Instead of trying to execute the operation on both servers, we have seen it tries continuously to execute it on the same server.

The problem is in handshakeWithServer function at ClientSideHandshakeImpl class. We have seen that after the operation fails on the first server, and it is going to be executed on the second server,  at this line:

member = readServerMember(dis);

The variable contains the member id of the second server, but readServerMember return the id of the first server, so finally the operations is executed on that server again.