Skip to content

Commit 9a9eca7

Browse files
committed
wip
1 parent 6c7ebcd commit 9a9eca7

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

internal/controller/postgrescluster/pgbouncer.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -622,11 +622,6 @@ func (r *Reconciler) pgbouncerPods(ctx context.Context, cluster *v1beta1.Postgre
622622
// [1] https://www.pgbouncer.org/usage.html#shutdown
623623
// [2] https://www.pgbouncer.org/usage.html#signals
624624
// [3] https://github.com/pgbouncer/pgbouncer/issues/1361
625-
//
626-
// Note: We don't use RECONNECT because it closes server connections when they are "released"
627-
// according to the pool mode. In transaction mode, this happens after each transaction. In session
628-
// mode, this happens when the client disconnects - so persistent clients may continue hitting
629-
// the old primary until they reconnect.
630625
func (r *Reconciler) reconcilePGBouncerReconnect(
631626
ctx context.Context, cluster *v1beta1.PostgresCluster,
632627
instances *observedInstances,

0 commit comments

Comments
 (0)