You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
log.Warn().Msg("Member is already terminated before it could be cleaned out. Not good, but removing dbserver pod because we cannot do anything further")
192
+
// At this point we have to set CleanedOut to true,
193
+
// because we can no longer reason about the state in the agency and
194
+
// bringing back the dbserver again may result in an cleaned out server without us knowing
195
+
memberStatus.Conditions.Update(api.ConditionTypeCleanedOut, true, "Draining server failed", "")
196
+
memberStatus.CleanoutJobID=""
197
+
ifmemberStatus.Phase==api.MemberPhaseDrain {
198
+
memberStatus.Phase=api.MemberPhaseCreated
199
+
}
200
+
iferr:=updateMember(memberStatus); err!=nil {
201
+
returnmaskAny(err)
202
+
}
190
203
returnnil
191
204
}
192
-
// Ensure the cleanout is triggered
193
-
log.Debug().Msg("Server is not yet clean out. Triggering a clean out now")
0 commit comments