Skip to content

Commit

Permalink
Merge pull request #211 from open-craft/kaustav/change_default_mongod…
Browse files Browse the repository at this point in the history
…b_replicaset_nutmeg

fix: change default mongodb replica set to null
  • Loading branch information
kaustavb12 authored Nov 14, 2022
2 parents cf40e6c + e4f89a9 commit 6a01a27
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion playbooks/roles/edxapp/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 6a01a27

Please sign in to comment.