In the current implementation, Dragonboat automatically compact Raft logs whenever it is possible. It is automatically triggered whenever a new snapshot is created as that implies all logs included in the snapshot is no longer required.
A potential Dragonboat user mentioned the requirement that they would like to be able to manually trigger such log compaction by using the specified raft log range to be compacted as the input.
In the current implementation, Dragonboat automatically compact Raft logs whenever it is possible. It is automatically triggered whenever a new snapshot is created as that implies all logs included in the snapshot is no longer required.
A potential Dragonboat user mentioned the requirement that they would like to be able to manually trigger such log compaction by using the specified raft log range to be compacted as the input.