Skip to content

Commit 4bc62b9

Browse files
committed
Iter
1 parent 849979e commit 4bc62b9

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pkg/deployment/resources/pod_inspector.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ func (r *Resources) InspectPods(ctx context.Context, cachedStatus inspectorInter
149149
if t := c.State.Terminated; t != nil && slices.Contains([]int32{
150150
constants.ArangoDBExitCodeUpgradeFailedCompaction,
151151
constants.ContainerExitCodeSegmentationFault, // Also in case of Segv
152+
constants.ArangoDBExitCodeInvalidArgument, // If Arg is not known
152153
}, t.ExitCode) {
153154
memberStatus.Conditions.Update(api.ConditionTypeMarkedToRemove, true, "Replace Required due to the mismatch", "")
154155
}

pkg/util/constants/adb_codes.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
package constants
2222

2323
const (
24+
ArangoDBExitCodeInvalidArgument = 3
2425
ArangoDBExitCodeUpgradeRequired = 11
2526
ArangoDBExitCodeUpgradeFailedCompaction = 30
2627

0 commit comments

Comments
 (0)