0

What is the difference between known-replica and known-slave configuration parameters?

I have updated redis version from 3.X to 6.X and now I have both in configuration.

1 Answers1

1

As described here, Redis decided to deprecate use of the word "slave" and replace it with alternative terms whenever it was possible to do so without harming backwards compatibility.

So these terms are synonyms, as you can see in the source code.

When you have multiple values of the same command in a configuration file, as you now do, the last-processed command is what gets used.

Kevin Christopher Henry
  • 46,175
  • 7
  • 116
  • 102
  • Thanks, but I also figured that there might be some issues with redis servers starting due to multiple definitions of same slave/replica so I have removed known-slave so that everything works as intended – Damir Ciganović-Janković Sep 02 '21 at 07:35