[monorepo] enable mongo notablescan for all services but web (#29497)

* [migrations] make old migrations compatible with --notablescan in mongo

Re-running the migration for db.users.emails.reversedHostname on all
Server Pro/CE users will not be harmfull.

* [monorepo] enable mongo notablescan for all services but web

GitOrigin-RevId: e2a710c9de08de9ac2aa9df1f3082d5f1c33ea05
This commit is contained in:
Jakob Ackermann
2025-11-04 12:56:51 +01:00
committed by Copybot
parent 2ebc411db4
commit 6691c5dc05
19 changed files with 68 additions and 81 deletions

View File

@@ -57,7 +57,7 @@ services:
user: root
mongo:
image: mongo:8.0.11
command: --replSet overleaf
command: --replSet overleaf --notablescan
volumes:
- ../../bin/shared/mongodb-init-replica-set.js:/docker-entrypoint-initdb.d/mongodb-init-replica-set.js
- ../../bin/shared/mongodb-docker-entrypoint-wait.sh:/mongodb-docker-entrypoint-wait.sh