When using DB2 as a JDBC store, some messages are lost during failover scenario. This was observed when a message was redistributed to a shutting-down node, which acknowledged it but did not persist it. The behavior is similar to previously reported issue JBEAP-29281 with file-based journal. Detailed trace logs are available for further analysis.
Customer impact: In a collocated HA topology, if one of the EAP servers is shut down and restarted (a standard administrative operation) there is a possibility that one or more messages may be lost.
Test Scenario:
- start two EAP servers in colocated HA topology in cluster with InQueue and OutQueue
- start producer to each of the servers and send 6000 messages to InQueue
- deploy MDBs to 2nd node which consumes messages from InQueue and resends new message to OutQueue
- wait until some messages are processed
- shut down node-2
- check if backup server on node-1 comes alive
- start node-2 again
- check failback of live on node-2
- when all messages are processed, consume all messages from OutQueue
Expected result: Receiver gets all messages which were sent.
Actual result: One or more messages are not delivered into OutQueue. Node-2
Artemis version: 2.40.0.redhat-00005
- blocks
-
JBEAP-30388 (8.1.z) Message loss after a server restart in the collocated HA cluster with JDBC store journal
-
- New
-