Skip to content

How to configure Garnet to use Master-Master replication? #573

Answered by vazois
Degot asked this question in Q&A
Discussion options

You must be logged in to vote

This is not possible to do so. A primary cannot be a replica for a range of slots and a primary for another range.
By default, when setting up a cluster with replication enabled, a given primary will be assigned a range of slots serving read and write requests.
Its corresponding replica will become an exact copy of that primary serving by default only read requests.
You can technically use the READWRITE command to allow replicas to server reads but this is not recommended and maybe unsafe.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vazois
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants