Health endpoint does not verify database connectivity #60
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
/api/v1/health returns ok unconditionally without pinging MongoDB. Load balancers will route traffic to unhealthy instances. Fix: Add db.run_command(ping) to health check.