Commit e43607a4 authored by Yossi Gottlieb's avatar Yossi Gottlieb
Browse files

Log message incorrect idx when applying entries.

parent 0e755635
...@@ -824,7 +824,7 @@ int raft_apply_entry(raft_server_t* me_) ...@@ -824,7 +824,7 @@ int raft_apply_entry(raft_server_t* me_)
return -1; return -1;
__log(me_, NULL, "applying log: %d, id: %d size: %d", __log(me_, NULL, "applying log: %d, id: %d size: %d",
me->last_applied_idx, ety->id, ety->data.len); log_idx, ety->id, ety->data.len);
me->last_applied_idx++; me->last_applied_idx++;
if (me->cb.applylog) if (me->cb.applylog)
......
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