Netflix / dynomite

A generic dynamo implementation for different k-v storage engines
Apache License 2.0
4.2k stars 531 forks source link

MSET for multi-datacenter clusters #771

Open Kashif-S opened 4 years ago

Kashif-S commented 4 years ago

It seems that according to #49 mset should be supported for local clusters. From my experience, it doesn't seem to replicate between racks in different data centers. Is there any reason why it was implemented to only support local replication?

Also, it seems that mset is still marked as unsupported in https://github.com/Netflix/dynomite/blame/dev/notes/redis.md

ipapapa commented 4 years ago

It is a multi-key command so you will have consistency issues if another client is trying to make a mutation in a remote node at the same time.

Kashif-S commented 4 years ago

Why isn't this an issue for replication within local racks?

ipapapa commented 4 years ago

Correct, the same issue may appear in a local datacenter but at least you have quorum guarantees on writes within a local Datacenter.