adoroszlai commented on PR #643:
URL: https://github.com/apache/ratis/pull/643#issuecomment-1122004205

   Thanks @Xushaohong for taking a look.
   
   > The leader is newly started and has not truncated the raft log yet. The 
firstAvailable will be 0 here.
   
   Should it wait until truncation before sending the notifyInstallSnapshot 
message?
   
   > installing a snapshot to 0 is strange
   
   Does the snapshot with index 0 contain any information?  What about later 
terms (e.g. `t:5, i:0`)?
   
   If it's an empty snapshot, should we short-circuit such snapshot by 
returning e.g. `ALREADY_INSTALLED`?


-- 
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]

Reply via email to