From 81e804206d13935f865ea1e9603355913ff4c8e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gon=C3=A7alo=20Rodrigues?= Date: Fri, 26 Jun 2026 22:21:11 +0100 Subject: [PATCH] fix(infra): revert to mongo:8, keep cache-size arg removed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit mongo:7 can't open data files written by mongo:8 (exit code 62 = NeedsDowngrade). Stay on mongo:8 — the SIGSEGV was caused by the --wiredTigerCacheSizeGB=0.25 flag, not the version. Removing the flag is the actual fix. 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 96a7ddd..c961599 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:7" + image = "mongo:8" env { name = "MONGO_INITDB_ROOT_USERNAME"