Hi,
I am trying to understand how the ReadRepair works.
I assume, ReadRepair uses ReadRepairer to generate the list of NodeValues that need to be updated or repaired.
Can someone please let me know how the following scenario would get resolved?
Consider I have two nodes with the following NodeValues:
[NodeValue(id=1, key=1, versioned= [1, version(1:2) ts:1422398249270]), NodeValue(id=2, key=1, versioned= [1, version(1:1, 2:1) ts:1422398252594])]
After readRepairer, output would be as as follows for NodeValues:
[NodeValue(id=1, key=1, versioned= [1, version(1:1, 2:1) ts:1422398252594]), NodeValue(id=2, key=1, versioned= [1, version(1:2) ts:1422398249270])]
Now, ReadRepair would send two PUT requests:
- To Node_1 with the version and value details of Node_2
- To Node_2 with the version and value details of Node_1
Is this correct?
Thanks & Regards,
-Nidhin