Skip to content

Commit

Permalink
Remove the unused argument in ScheduleCompactLog (talent-plan#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
rapiz1 authored Jan 27, 2021
1 parent a79bebf commit 951f0b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kv/raftstore/peer_msg_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 951f0b3

Please sign in to comment.