Hi all,

When follower InstallSnapshot from leader, Ratis will place all snapshot files 
in a tmp dir, and then rename it to /sm dir. If StateMachine snapshot contains 
a hierarchy of nested folders, this implementation will flatten the snapshot 
directory, which causes the hierarchy information to be lost. 

How should StateMachine implement takeSnapshot so that file directory 
information is maintained during InstallSnapshot? Is is possible for Ratis to 
support snapshot to have a directory hierarchy?

Best wishes,
William Song

Reply via email to