Open tamis-laan opened 1 month ago
Hi @tamis-laan, please add branch-* labels to identify which branch(es) this C-bug affects.
:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.
Hello, I am Blathers. I am here to help you get the issue triaged.
Hoot - a bug! Though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here.
I have CC'd a few people who may be able to assist you:
If we have not gotten back to your issue within a few business days, you can try the following:
:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.
Thanks for the report. This might be related to the introspection queries that asyncpg does on connection init. They seem to be pretty expensive: https://github.com/MagicStack/asyncpg/blob/85d7eed40637e7cad73a44ed2439ffeb2a8dc1c2/asyncpg/introspection.py#L14-L88
@rafiss Yes and on the frontend which uses a connection pool it works out to multiple 7 second delays for loading pages. Can I revert to a version of cockroachdb without this delay, or is this purely a asyncpg issue?
Describe the problem
The first query in a connection to CRDB using asyncpg results in a 7 seconds delay. This is especially annoying when using connection pools.
To Reproduce
Environment:
Jira issue: CRDB-41199