-
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
Update save disable code for new Redis version #18979
Conversation
With the upgrade of docker-database to Bookworm and the new Redis version that was brought in, database saves are enabled by default. However, we don't use (and maybe don't want, at this time) those database saves. Restore the old behavior by modifying `/etc/redis/redis.conf` to not save at all. Signed-off-by: Saikrishna Arcot <sarcot@microsoft.com>
/azpw ms_conflict |
@saiarcot895 : I assume this should fix this: #18667 |
@abdosi Yes, this will fix that. I didn't realize there was already an impact here. |
can we add some UT to catch this as this is major behavior change |
@saiarcot895 , can you check the conflict? |
It's saying that a conflict already exists in master, and to wait a few hours and rerun the conflict checker.
Opened sonic-net/sonic-mgmt#12877. |
/azpw ms_conflict |
1 similar comment
/azpw ms_conflict |
Why I did it
With the upgrade of docker-database to Bookworm in #18108 and the new Redis version that was brought in, database saves are enabled by default. However, we don't use (and maybe don't want, at this time) those database saves.
Work item tracking
How I did it
Restore the old behavior by modifying
/etc/redis/redis.conf
to not save at all.How to verify it
Checked
/var/log/syslog
to make sure there weren't messages from redis every minute saying the database was being saved, and verified/etc/redis/redis.conf
in the database container has a config line withsave ""
.Which release branch to backport (provide reason below if selected)
Tested branch (Please provide the tested image version)
Description for the changelog
Link to config_db schema for YANG module changes
A picture of a cute animal (not mandatory but encouraged)