@@ -99,6 +99,8 @@ const (
9999 ActionPVCResizeDefaultTimeout time.Duration = 1800 * time .Second // 30m0s
100100 // ActionPVCResizedDefaultTimeout define default timeout for action ActionPVCResized
101101 ActionPVCResizedDefaultTimeout time.Duration = 900 * time .Second // 15m0s
102+ // ActionPlaceHolderDefaultTimeout define default timeout for action ActionPlaceHolder
103+ ActionPlaceHolderDefaultTimeout time.Duration = ActionsDefaultTimeout
102104 // ActionRebalancerCheckDefaultTimeout define default timeout for action ActionRebalancerCheck
103105 ActionRebalancerCheckDefaultTimeout time.Duration = ActionsDefaultTimeout
104106 // ActionRebalancerCleanDefaultTimeout define default timeout for action ActionRebalancerClean
@@ -246,6 +248,8 @@ const (
246248 ActionTypePVCResize ActionType = "PVCResize"
247249 // ActionTypePVCResized in scopes Normal. Waits for PVC resize to be completed
248250 ActionTypePVCResized ActionType = "PVCResized"
251+ // ActionTypePlaceHolder in scopes Normal. Empty placeholder action
252+ ActionTypePlaceHolder ActionType = "PlaceHolder"
249253 // ActionTypeRebalancerCheck in scopes Normal. Check Rebalancer job progress
250254 ActionTypeRebalancerCheck ActionType = "RebalancerCheck"
251255 // ActionTypeRebalancerClean in scopes Normal. Cleans Rebalancer jobs
@@ -394,6 +398,8 @@ func ActionDefaultTimeout(in ActionType) time.Duration {
394398 return ActionPVCResizeDefaultTimeout
395399 case ActionTypePVCResized :
396400 return ActionPVCResizedDefaultTimeout
401+ case ActionTypePlaceHolder :
402+ return ActionPlaceHolderDefaultTimeout
397403 case ActionTypeRebalancerCheck :
398404 return ActionRebalancerCheckDefaultTimeout
399405 case ActionTypeRebalancerClean :
@@ -545,6 +551,8 @@ func GetActionPriority(in ActionType) ActionPriority {
545551 return ActionPriorityNormal
546552 case ActionTypePVCResized :
547553 return ActionPriorityNormal
554+ case ActionTypePlaceHolder :
555+ return ActionPriorityNormal
548556 case ActionTypeRebalancerCheck :
549557 return ActionPriorityNormal
550558 case ActionTypeRebalancerClean :
0 commit comments