Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
ref #5638

Signed-off-by: Wenbo Zhang <ethercflow@gmail.com>
  • Loading branch information
ethercflow committed Jan 19, 2023
1 parent 2a97f50 commit 78aa274
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/schedulers/transfer_witness_leader.go
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ func (s *trasferWitnessLeaderScheduler) scheduleTransferWitnessLeader(name, typ
for _, t := range targets {
targetIDs = append(targetIDs, t.GetID())
}
return operator.CreateTransferLeaderOperator(typ, cluster, region, region.GetLeader().GetStoreId(), target.GetID(), targetIDs, operator.OpLeader)
return operator.CreateTransferLeaderOperator(typ, cluster, region, region.GetLeader().GetStoreId(), target.GetID(), targetIDs, operator.OpWitnessLeader)
}

// RecvRegionInfo receives a checked region from coordinator
Expand Down

0 comments on commit 78aa274

Please sign in to comment.