Skip to content

Commit

Permalink
Optimize: tinyExtent Repair donot limit by autoRepairLimit
Browse files Browse the repository at this point in the history
Signed-off-by: awzhgw <[email protected]>
  • Loading branch information
awzhgw committed Aug 24, 2020
1 parent 2df53e0 commit d78fe1e
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions datanode/wrap_operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -490,22 +490,6 @@ func (s *DataNode) handleExtentRepairReadPacket(p *repl.Packet, connect net.Conn
}

func (s *DataNode) handleTinyExtentRepairReadPacket(p *repl.Packet, connect net.Conn) {
var (
err error
)

defer func() {
if err != nil {
p.PackErrorBody(ActionStreamRead, err.Error())
p.WriteToConn(connect)
}
fininshDoExtentRepair()
}()

err = requestDoExtentRepair()
if err != nil {
return
}
s.tinyExtentRepairRead(p, connect)
}

Expand Down

0 comments on commit d78fe1e

Please sign in to comment.