Skip to content

refactor: compact_log semantics and test

Yaroslav Dynnikov requested to merge test-compaction into master
  1. Now raft_storage::compact_log() function returns first_index instead of n_deleted as it used to - it had no practical purpose.
  2. Add a missing test for pico.raft_compact_log Lua API.
  3. Change the Lua API to be more alike other relevant Lua functions: raft_propose_*, raft_read_index, raft_timeout_now.
Edited by Yaroslav Dynnikov

Merge request reports