Hi all,

We recently discovered a bug related to InstallSnapshot. When leader install 
snapshot to a slow follower, if the snapshot contains multiple files or 
multiple chunks, only the last file will be placed under followers’ 
statemachine dir, others are remained in tmp dir.
More details please refer to issue 
https://issues.apache.org/jira/browse/RATIS-1587 
<https://issues.apache.org/jira/browse/RATIS-1587>

We wonder if we name the tmp dir use leader’s request-uuid would solve this 
problem. Request-uuid is shared among multiple installsnaphot-rpc requests for 
multiple files in a single snapshot.

BTW, If this issue is solved in ratis master branch, what is the best practice 
for us IoTDB to use the latest code, use a snapshot deployment or other ways?

Best wishes,
William Song  

Reply via email to