Read Repair Chance

Read Repair Chance



When a read request is made with consistency as ALL 

  1. Coordinator Node send the data request to nearest node 
  2. Coordinator Node send the checksum request from replica node
  3. Once it receives the responses it checks all the checksum values.
    1. If they are all same as below value 23




  1. If. Values are different as below from replica nodes





  1. Coordinator nodes checks the checksum which has the latest timestamp , it discards the data from replica node which has stale data.
  2. Coordinator node sends the correct data on the replica node on which data is deleted





 

Comments

Popular posts from this blog

Peer to Peer Architecture

Node