fix(master): modify dp decommission failure retry interval to 5 minutes.

close:#1000219034

Signed-off-by: shuqiang-zheng <zhengshuqiang@oppo.com>
This commit is contained in:
shuqiang-zheng 2025-07-14 15:36:12 +08:00 committed by zhumingze1108
parent 503a930226
commit 44cd11860e
2 changed files with 2 additions and 1 deletions

View File

@ -149,6 +149,7 @@ func (dp *DataPartition) repair(extentType uint8) {
// every time we need to figure out which extents need to be repaired and which ones do not.
dp.sendAllTinyExtentsToC(extentType, availableTinyExtents, brokenTinyExtents)
dp.isMissingTinyExtent = false
// error check
if dp.extentStore.AvailableTinyExtentCnt()+dp.extentStore.BrokenTinyExtentCnt() != storage.TinyExtentCount {
dp.isMissingTinyExtent = true

View File

@ -1090,7 +1090,7 @@ const InvalidDecommissionDpCnt = -1
const (
defaultDecommissionParallelLimit = 10
defaultDecommissionRetryLimit = 5
defaultDecommissionRetryInternal = 10 * time.Minute
defaultDecommissionRetryInternal = 5 * time.Minute
defaultDecommissionRollbackLimit = 3
defaultSetRestoreReplicaStatusLimit = 300
defaultDecommissionFirstHostDiskParallelLimit = 10