Replies: 2 comments 2 replies
-
Hi, I assume with connection pooler you mean "PgBouncer". Connection poolers were not supported until relatively recently in SpiceDB, as described in #1217. With newer versions incorporating #1994, this should no longer be a problem. If this issue persists, it may be a new problem we are not yet aware of. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@vroldanbet correct, i'm talking about pgbouncer ;) We are using spiceDB v1.42.1 at the moment which should already include the PRs you posted, or? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
we did setup SpiceDB this week on k8s via the operator. We had an external postgresql database with connection pool already running. However we saw a strange behaviour:
We had to configure our postgres connection pool to "session" mode during setup when the migrations were running. If the connection pool was set to "transaction" the migrations were not able to run:
and
However if we changed the connection pool to "session" mode the migrations did run without error. Then, after the initial setup we had lots of connection issues and the database connections from SpiceDB were dying all the time. SpiceDB was not usable. Then we change the connection pool back to "transaction" mode and connections were stable.
So is this a expected behaviour that you have to set your postgres connection pool to "session" during setup / migrations and then to "transaction" in normal operating mode? If yes, did i miss the documentation? ;)
Thanks,
Regards
Kilian
Beta Was this translation helpful? Give feedback.
All reactions