Files
ragflow/common/doc_store
Harsh Kashyap 824f9bfdcb fix(doc_store): retry transient connection errors in pool init (#17196)
## Summary

Fix the silent-failure health-check retry loops in
`common/doc_store/{es_conn_pool, ob_conn_pool, infinity_conn_pool,
infinity_conn_base}.py`. These pool initializers run at module import
via `@singleton`; a brief blip during pod start currently crashes the
whole worker process. The fix retries with exponential backoff, logs
each attempt, and re-raises on exhaustion.

## Related

- #17065 / #17066 — S3 storage
- #17069 / #17070 — non-S3 storage backends
- #17123 / #17125 — `rag/utils/{es_conn, opensearch_conn}`
- #17134 / #17135 — `memory/utils/es_conn`
- Fixes #17195

---------

Co-authored-by: Harsh Kashyap <Harsh23Kashyap@users.noreply.github.com>
2026-08-21 13:56:06 +08:00
..
2025-12-25 21:18:13 +08:00