-
How to configure next topology?: It seems that the only way to achieve this is to run two separate instances of GarnetServer on each node. instace1 on node1 - master, instance2 on nod1 - slave... And manage them manually. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is not possible to do so. A primary cannot be a replica for a range of slots and a primary for another range. |
Beta Was this translation helpful? Give feedback.
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.