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

Fix a fug where repl-backlog-size config was modifed in keydb.conf with the runtime change during the config rewrite #698

Merged

Conversation

karthyuom
Copy link
Contributor

There was a bug where original repl-backlog-size config value was overwritten by the config rewrite command received by the sentinel during the master/ replica switchover.

Basically, the repl-backlog-size was resized to twice its original value when the usage was insufficient, and hence it was resized to the repl-backlog-disk-reseve in runtime.

@JohnSully As discussed in the yesterday's meeting, this PR should resolve the above problem, and we have verified the fix on our end as well.

@JohnSully / @msotheeswaran could you please review and merge? thanks.

@paulmchen @hengku @yzhao244

…th the runtime value during config rewrite.
@JohnSully JohnSully merged commit 0d01b81 into Snapchat:main Jul 14, 2023
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.

2 participants