Skip to content

Commit

Permalink
Fix: datanode cannot start,if randomwrite request apply error,then ig…
Browse files Browse the repository at this point in the history
…one it

Signed-off-by: awzhgw <[email protected]>
  • Loading branch information
awzhgw committed Sep 3, 2020
1 parent 22a7d58 commit ad6423f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions datanode/partition_op_by_raft.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,9 @@ func (dp *DataPartition) ApplyRandomWrite(command []byte, raftApplyID uint64) (r
if dp.checkIsDiskError(err) {
return
}
if strings.Contains(err.Error(),storage.ExtentNotFoundError.Error()){
err=nil
}
if err == nil {
break
}
Expand Down

0 comments on commit ad6423f

Please sign in to comment.