Skip to content
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

feat: use fast shutdown for fencing #3051

Merged
merged 3 commits into from
Oct 11, 2023
Merged

feat: use fast shutdown for fencing #3051

merged 3 commits into from
Oct 11, 2023

Conversation

leonardoce
Copy link
Contributor

@leonardoce leonardoce commented Oct 10, 2023

Closes #3049

@github-actions
Copy link
Contributor

Build Error! No Linked Issue found. Please link an issue or mention it in the body using #<issue_id>

@github-actions github-actions bot added backport-requested ◀️ This pull request should be backported to all supported releases release-1.19 release-1.20 labels Oct 10, 2023
@github-actions
Copy link
Contributor

❗ By default, the pull request is configured to backport to all release branches.

  • To stop backporting this pr, remove the label: backport-requested ◀️ or add the label 'do not backport'
  • To stop backporting this pr to a certain release branch, remove the specific branch label: release-x.y

@leonardoce
Copy link
Contributor Author

/test limit=local

@github-actions
Copy link
Contributor

@leonardoce, here's the link to the E2E on CNPG workflow run: https://github.com/cloudnative-pg/cloudnative-pg/actions/runs/6474473651

leonardoce and others added 3 commits October 11, 2023 09:39
Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
@litaocdl
Copy link
Collaborator

/ok-to-merge

@cnpg-bot cnpg-bot added the ok to merge 👌 This PR can be merged label Oct 11, 2023
@litaocdl litaocdl merged commit ca8370d into main Oct 11, 2023
28 of 29 checks passed
@litaocdl litaocdl deleted the dev/3049 branch October 11, 2023 09:09
litaocdl pushed a commit that referenced this pull request Oct 11, 2023
This patch ensure that once an instance is set for fencing, the procedure
to shutdown the `postmaster` process is an initial fast shutdown with
a timeout set to`.spec.switchoverDelay`,  then followed by an immediate
shutdown.

Closes #3049

---------

Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Co-authored-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Co-authored-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
litaocdl pushed a commit that referenced this pull request Oct 11, 2023
This patch ensure that once an instance is set for fencing, the procedure
to shutdown the `postmaster` process is an initial fast shutdown with
a timeout set to`.spec.switchoverDelay`,  then followed by an immediate
shutdown.

Closes #3049

---------

Signed-off-by: Leonardo Cecchi <leonardo.cecchi@enterprisedb.com>
Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
Signed-off-by: Armando Ruocco <armando.ruocco@enterprisedb.com>
Co-authored-by: Gabriele Bartolini <gabriele.bartolini@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.19 release-1.20
Projects
None yet
Development

Successfully merging this pull request may close these issues.

What about using fast shutdown for fencing?
6 participants