Standard agent is processing duplicate items.

Hi All,

Our application has recently been upgraded to 8.7.4 from 7.4 version. We’ve a standard agent running in 2 nodes (Say, Node A and B) in the production environment, and the application is queueing multiple items at the same time through iterating a list. In ideal situation, when there are 3 items available in the list, Item 1 and 2 should be processed by Node A and B. Next, when either of Nodes are free, that Node (either A or B) should pickup the 3rd item. However, this is not happening. While item 1 and 2 are processed by Node A and B, item 3 is also processed by Node A. Any leads would be really helpful.

Thanks

@SK_PRPC Hi , Could you please elaborate more on the design you have made to ensure that the 3rd item should be processed by Node B. Also can you check if the list that is iterating to queue the items, is not having duplicate records.

@SK_PRPC can you please check if your nodes are healthy? Also can you please let me know if you are using external hazelcast to manage cluster?

Hi @Anoop Krishna,

  1. What are the things to check to ensure that the node is healthy?
  2. Yes, it is managed by Hazelcast to manage clusters.

@SK_PRPC

  1. To check Nodes health

  2. [Split brain syndrome- cluster fracture](http://Split brain syndrome- cluster fracture)

When nodes are not healthy, nodes won’t be able communicate with each other. Because of that if 1st node processed any item, 2nd node will not know that and that may process the same item again.