baidu / braft

An industrial-grade C++ implementation of RAFT consensus algorithm based on brpc, widely used inside Baidu to build highly-available distributed systems.
Apache License 2.0
3.84k stars 862 forks source link

snapshot 只能一个一个的添加文件吗? #417

Open lygn128 opened 11 months ago

lygn128 commented 11 months ago

1 snapshot 目录下有 多个目录,每个目录里面有多个文件, 现在我看只有 add_file 这个函数,不支持添加目录吗? 2 添加的file 必须要位于 snapshot 下面的第一层吗? 不能有多级吗? 谢谢大佬了