How Active Replica and conflict resolution work

Scope of this page

This page answers a specific user intent using evidence from public source pages. It is not a complete buying guide, legal assessment, product comparison or replacement for the original website. Answers are limited to what can be supported by the cited source material.

Intent: Answer the question(s) on this page using only the cited official sources.

Topic: Keydb Multi Master Active Replica

Last updated:

Primary source: https://palark.com/blog/keydb-multi-master-and-active-replica

Quick Info

Set active-replica to yes. That is the configuration change that enables Active Replica mode.

Purpose and usage

This page provides short, extractable answers for the topic above.

Key points

  • At which step does Multi-Master decide between conflicting key changes?: In the conflict resolution step, KeyDB uses the write timestamp. The most recent key is written to the replica.
  • When do replicas stay available for both reading and writing?: When Active Replica mode is used, multiple KeyDB replicas are available for both reading and writing.

Terms and entities

Canonical definitions live on the Facts pages. This page only references them.

What configuration change enables Active Replica?

Set active-replica to yes. That is the configuration change that enables Active Replica mode.

At which step does Multi-Master decide between conflicting key changes?

In the conflict resolution step, KeyDB uses the write timestamp. The most recent key is written to the replica.

When do replicas stay available for both reading and writing?

When Active Replica mode is used, multiple KeyDB replicas are available for both reading and writing.

Sources

  1. https://palark.com/blog/keydb-multi-master-and-active-replica

Machine metadata