-
|
Translation: I am running Hindsight using Docker Compose and have started the database container separately. Images used: pgvector/pgvector:pg17 Environment variables: PostgreSQLHINDSIGHT_API_DATABASE_URL=postgresql://u_hindsight:p_hindsight@db:5432/d_hindsight However, the database throws the following error: I have explicitly set HINDSIGHT_API_DATABASE_SCHEMA=public, but why does the API server query schemas_with_pending_work() in the default schema? Because of this issue, many pending tasks have accumulated and cannot be processed automatically. Regarding the HINDSIGHT_API_MIGRATION_DATABASE_URL parameter: when executing hindsight-admin run-db-migration, it initializes the default schema instead of public. I would like help understanding whether this is a configuration problem on my side or an issue in the software, and how I should fix it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
yep, I can reproduce the exact DB log on I ran the worker poller against a fresh Same test on So this looks like the old worker path, not your |
Beta Was this translation helpful? Give feedback.
yep, I can reproduce the exact DB log on
0.6.0.I ran the worker poller against a fresh
pgvector/pgvector:pg17DB withHINDSIGHT_API_DATABASE_SCHEMA=publicand just a dummypublic.async_operationstable. Onghcr.io/vectorize-io/hindsight:0.6.0,_scan_active_schemas()logs:Same test on
0.6.1doesn't log that. The poller caches{'schemas_with_pending_work': False}and falls back to the normal per-schema scan.So this looks like the old worker path, not your
publicschema setting. Repull/recreate the app container, or pinghcr.io/vectorize-io/hindsight:0.6.1instead of a cachedl…