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:
shuqiang-zheng 2025-11-25 19:47:12 +08:00 committed by chihe
parent 7a618a44ad
commit 5bea69cd67

View File

@ -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)