KeyDB icon indicating copy to clipboard operation
KeyDB copied to clipboard

[ACTIVE REP] [ENHANCEMENT] Set a static replication ID

Open BobEQAlpha opened this issue 4 years ago • 1 comments

When a master node reboots, its replication id is automatically set to a different value. All read-only replicas attached to the master will need to perform a full resync [due to the master's new replication id]. If there are ALOT of read-only replicas, this will significantly drain hardware/network resources as each master reboot forces a resync per read-only replica.

A way to address this would be to offer a configuration option that allows replication ids to be static.

There might be consistency issues (such as lost writes) with this option but at least attached replicas do a partial sync rather than a full resync.

BobEQAlpha avatar Aug 25 '21 15:08 BobEQAlpha

Related issue by a community member : https://github.com/redis/redis/pull/9166

BobEQAlpha avatar Aug 25 '21 22:08 BobEQAlpha