|
1 | 1 | // |
2 | 2 | // DISCLAIMER |
3 | 3 | // |
4 | | -// Copyright 2016-2024 ArangoDB GmbH, Cologne, Germany |
| 4 | +// Copyright 2016-2025 ArangoDB GmbH, Cologne, Germany |
5 | 5 | // |
6 | 6 | // Licensed under the Apache License, Version 2.0 (the "License"); |
7 | 7 | // you may not use this file except in compliance with the License. |
@@ -175,14 +175,14 @@ func (r *Reconciler) pvcResizePlan(group api.ServerGroup, member api.MemberStatu |
175 | 175 | actions.NewAction(api.ActionTypePVCResize, group, member), |
176 | 176 | } |
177 | 177 | case api.PVCResizeModeRotate: |
178 | | - return withWaitForMember(api.Plan{ |
| 178 | + return util.FlattenLists(api.Plan{ |
179 | 179 | actions.NewAction(getResignLeadershipActionType(), group, member), |
180 | 180 | actions.NewAction(api.ActionTypeKillMemberPod, group, member), |
181 | 181 | actions.NewAction(api.ActionTypeRotateStartMember, group, member), |
182 | 182 | actions.NewAction(api.ActionTypePVCResize, group, member), |
183 | 183 | actions.NewAction(api.ActionTypePVCResized, group, member), |
184 | 184 | actions.NewAction(api.ActionTypeRotateStopMember, group, member), |
185 | | - }, group, member) |
| 185 | + }, waitForMemberActions(group, member)) |
186 | 186 | default: |
187 | 187 | r.planLogger.Str("server-group", group.AsRole()).Str("mode", mode.String()). |
188 | 188 | Error("Requested mode is not supported") |
|
0 commit comments