Skip to content
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

Cherry-picks for 2.10.17-RC.3 #5520

Merged
merged 7 commits into from
Jun 11, 2024
Merged

Cherry-picks for 2.10.17-RC.3 #5520

merged 7 commits into from
Jun 11, 2024

Conversation

derekcollison and others added 7 commits June 11, 2024 17:15
Previously if `runAsFollower` or `PauseApply` had ran while in observer
state, i.e. due to `jetstream_cluster_migrate` being set when leafnode
connections dropped, then the election timer would have been reset to a
very high value. Then leaving observer state wouldn't have noticed the
lack of a leader for some time. This fix allows a leadership election to
take place very quickly after leaving observer mode.

Signed-off-by: Neil Twigg <[email protected]>
Saves:
* 16 bytes per `leaf`
* 24 bytes per `node4`, `node16` and `node256`

Signed-off-by: Neil Twigg <[email protected]>
Project no longer uses git.io, also pin to goreleaser v1 for now.
We were not taking into account that consumers could be a different tier for limits or tracking usage.

Signed-off-by: Derek Collison <[email protected]>
@wallyqs wallyqs marked this pull request as ready for review June 11, 2024 22:47
@wallyqs wallyqs requested a review from a team as a code owner June 11, 2024 22:47
Copy link
Member

@derekcollison derekcollison left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@wallyqs wallyqs merged commit 675b530 into release/v2.10.17 Jun 11, 2024
4 checks passed
@wallyqs wallyqs deleted the neil/21017rc3 branch June 11, 2024 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants