When using --use-system-icu, a cycle is created in the mongo initializers which causes mongod not to start.
Fix:
diff --git a/src/mongo/util/icu_init_stub.cpp b/src/mongo/util/icu_init_stub.cpp index 70c641fdcc3..8f5aea136ba 100644 --- a/src/mongo/util/icu_init_stub.cpp +++ b/src/mongo/util/icu_init_stub.cpp @@ -36,7 +36,7 @@ namespace { // This initializer provides a no-op definition of the LoadICUData MONGO_INITIALIZER, for use when // the system version of ICU is used instead of the vendored version. -MONGO_INITIALIZER(LoadICUData)(InitializerContext* context) {} +MONGO_INITIALIZER_GENERAL(LoadICUData, (), ("BeginStartupOptionHandling"))(InitializerContext* context) {} } // namespace } // namespace mongo
- related to
-
SERVER-70803 Initialize ICU USPrep code during startup
-
- Closed
-