kalisio / kargo

A K8S based solution to build and operate Geospatial Platforms
https://kalisio.github.io/kargo/
MIT License
23 stars 6 forks source link

Fine-tune database connection options to make Kargo more reliable #43

Closed claustres closed 2 years ago

claustres commented 5 years ago

When MongoDB hangs during a while it causes jobs like vigicrues and applications like Kano to stop working properly.

By default the MongoDB driver will only try to reconnect on failure during 30s, maybe a more reliable settings can be found.

Need to tackle https://github.com/kalisio/kCore/issues/112 and https://github.com/kalisio/krawler/issues/64 first.

cnouguier commented 5 years ago

https://docs.mongodb.com/manual/core/retryable-writes/ may this help ?

cnouguier commented 2 years ago

Since we migrate to K8S, we rely on the bitnami chart. We should refer to the chart documentation https://github.com/bitnami/charts/tree/master/bitnami/mongodb