-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
[FIXED] Stream catchup would not sync after server crash and restart. #5362
Commits on Apr 27, 2024
-
Fix for skew in sync subjects during parallel stream creation.
We had a bug that would overwrite the sync subject during parallel stream creation which would cause upper layer stream cacthups to fail on server restarts. We also were reporting first sequence mismatch when we hot max retries to force a reset but this was misleading, so added in proper error for max retires limit. Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for 62e432c - Browse repository at this point
Copy the full SHA 62e432cView commit details -
Delay checking interest state after processing a snapshot/catchup.
Consumers could still be catching up as well. Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for f396d6d - Browse repository at this point
Copy the full SHA f396d6dView commit details -
Increase allowed concurrent catchup requests.
Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for b5738cb - Browse repository at this point
Copy the full SHA b5738cbView commit details -
On ack fixup do not jump delivered based on stream, and only double c…
…heck if beyond a minumum threshold. On an active stream the ack floor periodic checks could trigger just due to normal circumstances, so use minimum threshold. Also do not jump delivered in that logic based on stream sequences. And finally do not have leader jump ack floors when pending is empty, this allows consistency checks to be consistent across all replicas. Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for ece6b10 - Browse repository at this point
Copy the full SHA ece6b10View commit details -
If empty at end of Compact() set first appropriately
Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for c958516 - Browse repository at this point
Copy the full SHA c958516View commit details -
Periodically check interest state on interest based streams
Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for 0488f6d - Browse repository at this point
Copy the full SHA 0488f6dView commit details -
Fix test since we do not jump ack floors now
Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for 52f0794 - Browse repository at this point
Copy the full SHA 52f0794View commit details -
Do jump consumer ack floor but not stream
Signed-off-by: Derek Collison <derek@nats.io>
Configuration menu - View commit details
-
Copy full SHA for a57d5e0 - Browse repository at this point
Copy the full SHA a57d5e0View commit details