Hi Everyone,
I’m using the Databricks Lakebase Data API and have noticed that the first API call consistently times out after approximately 8 seconds when the Lakebase compute is offline.
The first request triggers the compute to start, and the compute starts successfully, but the API request is cancelled after ~8 seconds. Subsequent requests work normally.
The error is:
{
"code": "57014",
"message": "canceling statement due to statement timeout",
"details": null,
"hint": null
}I checked the authenticator role and noticed that the statement_timeout is configured to 8 seconds:
SELECT rolname, rolconfig
FROM pg_roles
WHERE rolname = 'authenticator';
Result:
authenticator | {statement_timeout=8s}I suspect this statement_timeout may be causing the first request to be cancelled while the compute is starting.
I have permission to alter role, and I tried increasing it to 60 seconds, but received:
ERROR: permission denied to alter role (SQLSTATE 42501)
Has anyone experienced a similar issue? Is there a way to increase or configure the statement_timeout for the Lakebase Data API authenticator role?
Thank you.