mirror of
https://github.com/talent-plan/tinykv.git
synced 2025-03-28 21:10:23 +08:00
Remove the unused argument in ScheduleCompactLog (#240)
This commit is contained in:
parent
a79bebf439
commit
951f0b3baf
@ -150,7 +150,7 @@ func (d *peerMsgHandler) onRaftBaseTick() {
|
||||
d.ticker.schedule(PeerTickRaft)
|
||||
}
|
||||
|
||||
func (d *peerMsgHandler) ScheduleCompactLog(firstIndex uint64, truncatedIndex uint64) {
|
||||
func (d *peerMsgHandler) ScheduleCompactLog(truncatedIndex uint64) {
|
||||
raftLogGCTask := &runner.RaftLogGCTask{
|
||||
RaftEngine: d.ctx.engine.Raft,
|
||||
RegionID: d.regionId,
|
||||
|
Loading…
Reference in New Issue
Block a user