we've upgraded our redis from 3.2.6 to 6.2.5, we switched the redis-server bin file and started redis process using new version bin with the old conf file, only add two options,

io-threads-do-reads yes
io-threads 6

for supporting multi thread mechanism, we have commented out save option in the conf file like:

# save 60 1

but after upgrade we found that the save policy turns out to be :

1) "save"
2) "3600 1 300 100 60 10000"

i don't know why this happen, and i also lookup in the configuration document of redis6xx , it says:

#   Note: you can disable saving completely by commenting out all "save" lines.
#
#   It is also possible to remove all the previously configured save
#   points by adding a save directive with a single empty string argument
#   like in the following example:
#
#   save ""

but why this happens ?

Comment From: sundb

Do you want to turn off save policy? Comment # save 60 1 does not mean to turn off the policy, but to use the default policy. If you want to turn it off you can change it to save ""

Comment From: xroa

yep, i want to disable save policy. so what the official document https://raw.githubusercontent.com/redis/redis/6.0/redis.conf said :

you can disable saving completely by commenting out all "save" lines.

is wrong ?

Comment From: sundb

The document has been fixed in #8337.