Commit 6fbdcf34 authored by Willem Thiart's avatar Willem Thiart
Browse files

Virtraft: use new raft_begin_snapshot

parent d2784639
......@@ -699,7 +699,7 @@ class RaftServer(object):
# logger.warning('{} snapshotting'.format(self))
# entries_before = lib.raft_get_log_count(self.raft)
e = lib.raft_begin_snapshot(self.raft)
e = lib.raft_begin_snapshot(self.raft, 0)
if e != 0:
return
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment