-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Potential Bug: Offset Not Updated for Server-Side Subscriptions After Receiving Publications #107
Comments
Hello @shalom-aviv Yes, it's a bug. Thanks! Please send PR if you have time, or I'll fix it very soon. |
This issue also exists in https://github.com/centrifugal/centrifuge-java |
…ications during connection flow centrifugal#107
Advice from Spikeman:
|
Hello @hikkidev - I think it does not - https://github.com/centrifugal/centrifuge-java/blob/d0678bff8740a79eb84d2ca74973d4dc9e285f79/centrifuge/src/main/java/io/github/centrifugal/centrifuge/Client.java#L696 - could you elaborate? |
… Publications #107 (#108) #107 --------- Co-authored-by: a.pochtarev <[email protected]>
The fix is part of https://github.com/centrifugal/centrifuge-swift/releases/tag/0.7.3 Many thanks! |
Description:
We have encountered an issue where, after manually reconnecting the client, the same chunk of history is repeatedly retrieved for a server-side subscription.
In debugging, we noticed that the
offset
sent during the connection request for a channel is the same as theoffset
returned in the server response, even when publications for that channel are delivered during the connection. This behavior indicates that while the messages are successfully delivered to the client, theoffset
for the channel is not updated accordingly.The text was updated successfully, but these errors were encountered: