Snapchat / KeyDB

A Multithreaded Fork of Redis
https://keydb.dev
BSD 3-Clause "New" or "Revised" License
11.5k stars 578 forks source link

Add tombstone support during split brain for Active Replication #447

Open benschermel opened 2 years ago

benschermel commented 2 years ago

This issue is in reference to the following issues reported: #442, possibly #390

When there is a split brain scenario and a key is deleted on one node, it will be repopulated when it becomes reconnected and syncs with the other node(s) that still contain the data.

Tombstone support is needed in these scenarios to ensure the keys are deleted on the other nodes when reconnected.

tamilamuthan-it commented 1 year ago

OS: Ubuntu 20.04 KeyDB version: 6.3.1

I am facing the same issue in version 6.3.1 but it's working fine with 6.3.0. Please look into it.