Netflix / dynomite

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

Data consistency failure between 3 nodes. [Question] #708

Open leonardodavinte opened 5 years ago

leonardodavinte commented 5 years ago

Data consistency failure between 3 nodes.

Please can anyone help me? Should all nodes have the same number of Keys?

I have 3 nodes and 3 racks. Each rack has only 1 node. 1 data center. But my data has no consistency.

Below is the configuration of my 3 nodes. What am I doing wrong in my setup?

My data: My keys are thousands of IPs. (Examples: 10.0.0.1, 10.0.0.2, ... 10.255.255.255)

redis-cli -p 8102 get 10.0.0.1 "1"

But some nodes have more keys than others.

My Configuration:

===DC1===

===RACK1=== ===NODE01=== dyn_o_mite: datacenter: dc1 rack: rack1 dyn_listen: 0.0.0.0:8101 dyn_seeds:

===RACK2=== ===NODE02=== dyn_o_mite: datacenter: dc1 rack: rack2 dyn_listen: 0.0.0.0:8101 dyn_seeds:

===RACK3=== ===NODE03=== dyn_o_mite: datacenter: dc1 rack: rack3 dyn_listen: 0.0.0.0:8101 dyn_seeds:

Thanks,

Leonardo

havlan commented 5 years ago

@leonardodavinte they all have the same tokens? Look at examples in https://github.com/Netflix/dynomite/tree/dev/conf