From e4f89a9fbdba2268aafc224e78535185c88d03ce Mon Sep 17 00:00:00 2001 From: Kaustav Banerjee Date: Fri, 11 Nov 2022 07:57:21 +0530 Subject: [PATCH] fix: change default mongodb replica set to null (cherry picked from commit 1ad3ecf3e73f28f8077b5aa8577ddc64b34dcbf6) --- CHANGELOG.md | 4 ++++ playbooks/roles/edxapp/defaults/main.yml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd955297baa..6c8b3f50a23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. Add any new changes to the top (right below this line). + - 2022-11-11 + - Changed default value of `EDXAPP_MONGO_REPLICA_SET` to `null` from existing + empty string `""`, to make it compatible with pymongo >= 3.11 in Nutmeg and above. + - 2022-10-14 - Changed default value of `MFE_ORDER_HISTORY_URL` to empty string `""` to prevent MFE header dropdown from rending `Order History` option when diff --git a/playbooks/roles/edxapp/defaults/main.yml b/playbooks/roles/edxapp/defaults/main.yml index dbe1a50d6f6..006c53ece10 100644 --- a/playbooks/roles/edxapp/defaults/main.yml +++ b/playbooks/roles/edxapp/defaults/main.yml @@ -74,7 +74,7 @@ EDXAPP_MONGO_PORT: 27017 EDXAPP_MONGO_USER: 'edxapp' EDXAPP_MONGO_DB_NAME: 'edxapp' EDXAPP_MONGO_USE_SSL: False -EDXAPP_MONGO_REPLICA_SET: '' +EDXAPP_MONGO_REPLICA_SET: null EDXAPP_MONGO_AUTH_DB: '' # Used only if EDXAPP_MONGO_REPLICA_SET is provided. EDXAPP_MONGO_CMS_READ_PREFERENCE: 'PRIMARY'