mirror of
https://github.com/cubefs/cubefs.git
synced 2026-08-02 02:00:56 +00:00
feat(master): the dp decommission progress will not exceed 100%.
close: #1000471110
Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
(cherry picked from commit c171ba1a1c)
This commit is contained in:
parent
7a618a44ad
commit
5bea69cd67
@ -375,6 +375,8 @@ func (dp *DataPartition) StartRaftAfterRepair(isLoad bool) {
|
||||
continue
|
||||
}
|
||||
|
||||
dp.decommissionRepairProgress = 0.9999
|
||||
|
||||
currLeaderPartitionNormalExtents, err = dp.getLeaderPartitionNormalExtentInfo()
|
||||
if err != nil {
|
||||
log.LogErrorf("action[StartRaftAfterRepair] PartitionID(%v) get leader normal extents err(%v)", dp.partitionID, err)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user