-
Notifications
You must be signed in to change notification settings - Fork 252
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: cluster phase change should not interrupt the hibernation processing #3970
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
YanniHu1996
requested review from
fcanovai,
gbartolini,
leonardoce,
mnencia,
phisco,
sxd and
armru
as code owners
March 1, 2024 02:25
github-actions
bot
added
backport-requested ◀️
This pull request should be backported to all supported releases
release-1.21
release-1.22
labels
Mar 1, 2024
❗ By default, the pull request is configured to backport to all release branches.
|
YanniHu1996
force-pushed
the
dev/3965
branch
3 times, most recently
from
March 1, 2024 03:56
6cea92b
to
31d86cf
Compare
YanniHu1996
force-pushed
the
dev/3965
branch
2 times, most recently
from
March 5, 2024 10:38
93a045e
to
f8e906c
Compare
litaocdl
force-pushed
the
dev/3965
branch
2 times, most recently
from
March 13, 2024 03:10
fe761c6
to
3eba6b3
Compare
litaocdl
approved these changes
Mar 13, 2024
litaocdl
changed the title
fix: Do not interrupt hibernate in progress, even if the cluster is unhealthy
fix: cluster phase change should not interrupt the hibernate processing
Mar 13, 2024
litaocdl
changed the title
fix: cluster phase change should not interrupt the hibernate processing
fix: cluster phase change should not interrupt the hibernation processing
Mar 13, 2024
armru
force-pushed
the
dev/3965
branch
2 times, most recently
from
March 13, 2024 10:39
2a555db
to
fe96fd8
Compare
armru
approved these changes
Mar 13, 2024
Signed-off-by: YanniHu1996 <yantian.hu@enterprisedb.com>
Signed-off-by: YanniHu1996 <yantian.hu@enterprisedb.com>
Signed-off-by: YanniHu1996 <yantian.hu@enterprisedb.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
/ok-to-merge |
litaocdl
added a commit
that referenced
this pull request
Mar 13, 2024
This patch fix a corner case that during hibernation, instance pod has been deleted but cluster status still have hibernation condition `k8s.enterprisedb.io/hibernation` set to state=false. Also in this patch, we enfored the hibernation annotation `k8s.enterprisedb.io/hibernation` can only accept `on` and `off` value in webhook. closes #3965 Signed-off-by: YanniHu1996 <yantian.hu@enterprisedb.com> Signed-off-by: Tao Li <tao.li@enterprisedb.com> Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Co-authored-by: Tao Li <tao.li@enterprisedb.com> Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
litaocdl
added a commit
that referenced
this pull request
Mar 13, 2024
This patch fix a corner case that during hibernation, instance pod has been deleted but cluster status still have hibernation condition `k8s.enterprisedb.io/hibernation` set to state=false. Also in this patch, we enfored the hibernation annotation `k8s.enterprisedb.io/hibernation` can only accept `on` and `off` value in webhook. closes #3965 Signed-off-by: YanniHu1996 <yantian.hu@enterprisedb.com> Signed-off-by: Tao Li <tao.li@enterprisedb.com> Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com> Co-authored-by: Tao Li <tao.li@enterprisedb.com> Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport-requested ◀️
This pull request should be backported to all supported releases
ok to merge 👌
This PR can be merged
release-1.21
release-1.22
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This patch fix a corner case that during hibernation, instance pod has
been deleted but cluster status still have hibernation condition
k8s.enterprisedb.io/hibernation
set to state=false. Also in this patch,we enfored the hibernation annotation
k8s.enterprisedb.io/hibernation
can only accept
on
andoff
value in webhook.closes #3965