Skip to content

[Feature]: Unsupervised Pooler PAUSE during switchover #8299

Description

@ShadowJonathan

Is there an existing issue already for this feature request/idea?

  • I have searched for an existing issue, and could not find anything. I believe this is a new feature request to be evaluated.

What problem is this feature going to solve? Why should it be added?

It is implied that the Pooler will not PAUSE during a switchover, potentially leading to transaction failures, instead of transaction delays.

Describe the solution you'd like

For the Poolers to PAUSE while a switchover is happening.

Describe alternatives you've considered

N/A

Additional context

I saw this comment in the documentation:

In future versions, the switchover operation will be fully integrated with the PgBouncer pooler and take advantage of the PAUSE/RESUME features to reduce the perceived downtime by client applications. Currently, you can achieve the same results by setting the paused attribute to true, issuing the switchover command through the cnpg plugin, and then restoring the paused attribute to false.

However, I could not find a feature request associated with this, using keywords Pooler, switchover, and pause.

Thus, here I have a feature request to add this, as this interests me greatly, to achieve at least the illusion of "zero-downtime" in periodic switchover operations (during cluster upgrades, rollout of upgrades, etc.)

Backport?

N/A

Are you willing to actively contribute to this feature?

No

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. changed the title [-][Feature]: Pooler pause during switchover[/-] [+][Feature]: Unsupervised Pooler `PAUSE` during switchover[/+] on Aug 10, 2025
  2. omsuneri commented on Aug 12, 2025

    @omsuneri
    Contributor

    @gbartolini i ll take up this issue !

  3. github-actions commented on Nov 1, 2025

    @github-actions
    Contributor

    This issue is stale because it has been open for 60 days with no activity.

  4. ShadowJonathan commented on Nov 1, 2025

    @ShadowJonathan
    Author

    @omsuneri @gbartolini any movement in this?

  5. ShadowJonathan commented on Nov 2, 2025

    @ShadowJonathan
    Author

    I see that #8325 exists, did that one get triaged?

  6. github-actions commented on Jan 2, 2026

    @github-actions
    Contributor

    This issue is stale because it has been open for 60 days with no activity.

  7. ShadowJonathan commented on Jan 2, 2026

    @ShadowJonathan
    Author

    @omsuneri @gbartolini same request; any movement in this?

  8. jeremych1000 commented on Jan 14, 2026

    @jeremych1000

    Would love this - currently still experiencing connection drops when using the pooler!

  9. dosubot commented on Apr 15, 2026

    @dosubot

    Hi, @ShadowJonathan. I'm Dosu, and I'm helping the cloudnative-pg team manage their backlog and am marking this issue as stale.

    Issue Summary:

    • You requested a feature for the Pooler to automatically pause during switchover operations to reduce transaction failures and downtime.
    • There was initial interest from omsuneri to work on this, with support from jakubhajek, but no further updates have been provided.
    • The issue has been marked stale twice due to inactivity despite your follow-ups and additional support from jeremych1000 regarding connection drops.
    • No resolution or official triage has been completed yet.

    Next Steps:

    • Please let us know if this issue is still relevant with the latest version of cloudnative-pg by commenting here to keep the discussion open.
    • If we do not hear back within 7 days, the issue will be automatically closed to help us focus on active items.

    Thank you for your understanding and contribution!

  10. ShadowJonathan commented on Apr 15, 2026

    @ShadowJonathan
    Author

    This is still relevant, and blocks a confident support in deploying CNPG, so I'd like to have this implemented or addressed (in there being a good solution).

  11. modified the milestones: Next, Later on May 27, 2026
  12. moved this to Todo in Roadmapon May 27, 2026
  13. added
    enhancement 🪄
    and removed
    triage
    on May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement 🪄no-stale

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions