sodonnel commented on PR #5288:
URL: https://github.com/apache/ozone/pull/5288#issuecomment-1720147723

   I don't have any real understanding of Ratis or how it is applied to OM HA, 
so its hard for me to understand how this would work.
   
   For an OM write - the write updates the leader OM data (cache / RocksDB) and 
then writes the transaction to Ratis before the call returns to the client. For 
this Ratis write to succeed, must it make it onto the other 2 OM nodes and into 
their Ratis log or just into a majority of the Ratis logs?
   
   When the Ratis transaction is received by the follower OM, what happens 
before that call returns to the leader who called it? Is the transaction 
written to the follower Ratis log AND applied to the follower memory state too 
before the Ozone client returns? Or is the Ratis log applied to the followers 
memory async by a separate thread, meaning the original client call returns 
BEFORE the memory state is updated in all OMs?
   
   If the original client call doesn't return until all 3 OMs have been 
updated, does this mean the 3 OMs have a strictly consistent memory state, 
rather than eventually consistent?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to