Enable filter before copy remote for snapshots.

This commit is contained in:
kishorenc 2020-09-10 07:17:47 +05:30
parent d06552eeba
commit eaafe484fd

View File

@ -34,7 +34,7 @@ int ReplicationState::start(const butil::EndPoint & peering_endpoint, const int
node_options.fsm = this;
node_options.node_owns_fsm = false;
node_options.snapshot_interval_s = snapshot_interval_s;
node_options.filter_before_copy_remote = false;
node_options.filter_before_copy_remote = true;
std::string prefix = "local://" + raft_dir;
node_options.log_uri = prefix + "/" + log_dir_name;
node_options.raft_meta_uri = prefix + "/" + meta_dir_name;