From ba3fa6e46d7e6f875f65ab4fc9260090417295c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Rodrigues?= Date: Fri, 26 Jun 2026 22:28:33 +0100 Subject: [PATCH] fix(infra): switch MongoDB to 7 LTS (jemalloc, ARM64 stable) MongoDB 8.x (both 8.0 and 8.2) uses tcmalloc-google which segfaults (exit 139) on Hetzner ARM64 kernels with transparent hugepages disabled. MongoDB 7 LTS uses jemalloc and runs cleanly on the same hardware. PVC was already wiped so there is no FCV incompatibility. Co-Authored-By: Claude Sonnet 4.6 --- infrastructure/terraform/mongodb.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infrastructure/terraform/mongodb.tf b/infrastructure/terraform/mongodb.tf index 6cd6a75..96a7ddd 100644 --- a/infrastructure/terraform/mongodb.tf +++ b/infrastructure/terraform/mongodb.tf @@ -76,7 +76,7 @@ resource "kubernetes_stateful_set" "mongodb" { spec { container { name = "mongodb" - image = "mongo:8.0" + image = "mongo:7" env { name = "MONGO_INITDB_ROOT_USERNAME"