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
1st attempt: mutex is locked, m.ackd is false, mx is unlocked. At the end of function execution we set m.ackd to true.
2nd attempt: mutex is locked, m.ackd is true, we return without releasing the lock.
3rd attempt: blocks because the lock was not released on previous attempt.
So it basically was only locking after the first ErrMsgAlreadyAckd.
Observed behavior
Acking a JetStream message for the 3rd time blocks code execution.
Expected behavior
Returns an error, just like when acking the message for the 2nd time.
Server and client version
v1.28.0
v2.9.11
Host environment
➜ ~ go version go version go1.21.3 darwin/arm64
Steps to reproduce
The text was updated successfully, but these errors were encountered: