You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The server for some reason added more than one shadow subscriber to its internal state. This makes it impossible for the server to start.
[12176] 2017/06/12 13:42:29.336373 [INF] STREAM: Failed to start: there should be only one shadow subscriber for ["backend-durable:remove-bubble-group"] queue group panic: there should be only one shadow subscriber for ["backend-durable:remove-bubble-group"] queue group [recovered] panic: there should be only one shadow subscriber for ["backend-durable:remove-bubble-group"] queue group
A shadow queue subscriber is a record left in the store when the last
member of a queue group has left, but the state needs to be maintained.
There should be only one such shadow queue durable subscriber per
queue group per channel.
However, we got a case with a datastore that contained 2 such records.
Code inspection did not reveal how this could happen with current
code base, so it is suspected that this is the result of various
server upgrades with older datastores.
This change prevents the server from panic'ing and instead uses
the shadow subscriber with the highest lastSent value.
Resolves#322
The server for some reason added more than one shadow subscriber to its internal state. This makes it impossible for the server to start.
[12176] 2017/06/12 13:42:29.336373 [INF] STREAM: Failed to start: there should be only one shadow subscriber for ["backend-durable:remove-bubble-group"] queue group panic: there should be only one shadow subscriber for ["backend-durable:remove-bubble-group"] queue group [recovered] panic: there should be only one shadow subscriber for ["backend-durable:remove-bubble-group"] queue group
With some printf, I found:
[client id: ]: ID:5 qGroup:"backend-durable:remove-bubble-group" inbox:"_INBOX.M3V34IJY91XSXFTB3G0NIQ" ackInbox:"_INBOX.sYCnOp4GzXNhtBPSPmJr3J" maxInFlight:1 ackWaitInSecs:1800 lastSent:31 isDurable:true
[12176] 2017/06/12 13:42:29.335988 [INF] STREAM: debug
[client id: ]: ID:6 qGroup:"backend-durable:remove-bubble-group" inbox:"_INBOX.F8HZ11KI1TANGB68XPHATU" ackInbox:"_INBOX.bB3pce3nTYX4KGZy9uDjMJ" maxInFlight:1 ackWaitInSecs:1800 lastSent:31 isDurable:true
The text was updated successfully, but these errors were encountered: