Skip to content

Commit

Permalink
Merge pull request cubefs#1011 from mervinkid/mervinkid/refactor_succ…
Browse files Browse the repository at this point in the history
…ess_when_removing_non_exist_dp

Refactor: success when removing non-exist DP
  • Loading branch information
awzhgw authored Nov 9, 2020
2 parents 6eaf9a1 + 73d089d commit 49bde08
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion datanode/wrap_operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,6 @@ func (s *DataNode) handlePacketToRemoveDataPartitionRaftMember(p *repl.Packet) {

dp := s.space.Partition(req.PartitionId)
if dp == nil {
err = fmt.Errorf("partition %v not exsit", req.PartitionId)
return
}
p.PartitionID = req.PartitionId
Expand Down

0 comments on commit 49bde08

Please sign in to comment.