Skip to content

Fix loading of save params from config file.#7767

Merged
yossigo merged 1 commit intoredis:unstablefrom
yossigo:fix-config-save
Sep 9, 2020
Merged

Fix loading of save params from config file.#7767
yossigo merged 1 commit intoredis:unstablefrom
yossigo:fix-config-save

Conversation

@yossigo
Copy link
Collaborator

@yossigo yossigo commented Sep 9, 2020

Save parameters should either be default or whatever specified in the
config file. This fixes an issue introduced in #7092 which causes
configuration file settings to be applied on top of the defaults.

@yossigo yossigo requested a review from oranagra September 9, 2020 07:32
oranagra
oranagra previously approved these changes Sep 9, 2020
oranagra
oranagra previously approved these changes Sep 9, 2020
@oranagra
Copy link
Member

oranagra commented Sep 9, 2020

@itamarhaber FYI: #7092 introduced a bug.
loading a config file with save lines, appends to the default values instead of overriding them.
luckily we didn't release that yet.

@yossigo please include that info in the commit comment when you squash-merge it.

Save parameters should either be default or whatever specified in the
config file. This fixes an issue introduced in redis#7092 which causes
configuration file settings to be applied on top of the defaults.
@yossigo yossigo changed the title Fix save params handling. Fix loading of save params from config file. Sep 9, 2020
@yossigo yossigo merged commit 818a746 into redis:unstable Sep 9, 2020
@yossigo yossigo deleted the fix-config-save branch September 9, 2020 12:13
@oranagra oranagra added the release-notes indication that this issue needs to be mentioned in the release notes label Sep 9, 2020
@oranagra oranagra added this to the Redis 6.2 milestone Sep 9, 2020
@oranagra oranagra removed this from the Next minor backlog milestone Oct 19, 2020
JackieXie168 pushed a commit to JackieXie168/redis that referenced this pull request Nov 4, 2020
Save parameters should either be default or whatever specified in the
config file. This fixes an issue introduced in redis#7092 which causes
configuration file settings to be applied on top of the defaults.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-notes indication that this issue needs to be mentioned in the release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants