Skip to content

Leader message sequence out-of-sync when opening queue to cluster with 92.8 and 93.15 mix #683

Open
@kaikulimu

Description

@kaikulimu

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

I observe this alarm:

04APR2025_21:00:31.928 (6181072896) ERROR mqbblp_clusterstatemanager.cpp:1575 ALARM [CLUSTER_STATE] Cluster (c2x2): got queueAssignmentAdvisory: [ sequenceNumber = [ electorTerm = 1 sequenceNumber = 9 ] queues = [ [ uri = "bmq://bmq.test.mmap.fanout/q1" key = [ CD71ED7DB2 ] partitionId = 0 appIds = [ ] ] ] ] from current leader: [east2, 2], with smaller leader message sequence: [ electorTerm = 1 sequenceNumber = 9 ]. Current value: [ electorTerm = 1 sequenceNumber = 10 ]. Ignoring this advisory.

And producer hangs.

Expected Behavior

Should not have any alarm, and producer should not hang.

Steps To Reproduce

  1. Prepare a 4-node cluster in non-FSM mode. Three nodes are on 92.8, and one node on 93.15.
  2. Start the three 92.8 nodes. One of them becomes leader.
  3. Start the 93.15 node.
  4. Start a producer to connect to the 93.15 node, and open a fanout queue.
  5. You should see the alarm.

BlazingMQ Version

0.92.8, 0.93.15

Anything else?

  • @dorjesinpo is the original reporter of this issue.
  • The producer must connect to 93.15 node to trigger alarm. If producer connects through proxy or a 92.8 replica or the 92.8 primary, then there is no alarm.
  • This behavior does not occur in FSM mode.

Metadata

Metadata

Assignees

Labels

A-BrokerArea: C++ BrokerbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions