Commit ac1e019f by Feanil Patel

Merge pull request #2059 from edx/feanil/define_replicaset

Allow us to configure the replicaset name per modulestore.
parents 1528f023 f3b8f02e
...@@ -571,6 +571,10 @@ EDXAPP_LMS_SPLIT_MONGO_READ_PREFERENCE: 'PRIMARY' ...@@ -571,6 +571,10 @@ EDXAPP_LMS_SPLIT_MONGO_READ_PREFERENCE: 'PRIMARY'
EDXAPP_CMS_MONGO_READ_PREFERENCE: 'PRIMARY' EDXAPP_CMS_MONGO_READ_PREFERENCE: 'PRIMARY'
EDXAPP_LMS_DRAFT_MONGO_REPLICA_SET: !!null
EDXAPP_LMS_SPLIT_MONGO_REPLICA_SET: !!null
EDXAPP_CMS_MONGO_REPLICA_SET: !!null
edxapp_generic_doc_store_config: &edxapp_generic_default_docstore edxapp_generic_doc_store_config: &edxapp_generic_default_docstore
db: "{{ EDXAPP_MONGO_DB_NAME }}" db: "{{ EDXAPP_MONGO_DB_NAME }}"
host: "{{ EDXAPP_MONGO_HOSTS }}" host: "{{ EDXAPP_MONGO_HOSTS }}"
...@@ -583,14 +587,17 @@ edxapp_generic_doc_store_config: &edxapp_generic_default_docstore ...@@ -583,14 +587,17 @@ edxapp_generic_doc_store_config: &edxapp_generic_default_docstore
edxapp_lms_draft_doc_store_config: edxapp_lms_draft_doc_store_config:
<<: *edxapp_generic_default_docstore <<: *edxapp_generic_default_docstore
read_preference: "{{ EDXAPP_LMS_DRAFT_MONGO_READ_PREFERENCE }}" read_preference: "{{ EDXAPP_LMS_DRAFT_MONGO_READ_PREFERENCE }}"
replicaSet: "{{ EDXAPP_LMS_DRAFT_MONGO_REPLICA_SET }}"
edxapp_lms_split_doc_store_config: edxapp_lms_split_doc_store_config:
<<: *edxapp_generic_default_docstore <<: *edxapp_generic_default_docstore
read_preference: "{{ EDXAPP_LMS_SPLIT_MONGO_READ_PREFERENCE }}" read_preference: "{{ EDXAPP_LMS_SPLIT_MONGO_READ_PREFERENCE }}"
replicaSet: "{{ EDXAPP_LMS_SPLIT_MONGO_REPLICA_SET }}"
edxapp_cms_doc_store_config: edxapp_cms_doc_store_config:
<<: *edxapp_generic_default_docstore <<: *edxapp_generic_default_docstore
read_preference: "{{ EDXAPP_CMS_MONGO_READ_PREFERENCE }}" read_preference: "{{ EDXAPP_CMS_MONGO_READ_PREFERENCE }}"
replicaSet: "{{ EDXAPP_CMS_MONGO_REPLICA_SET }}"
edxapp_generic_auth_config: &edxapp_generic_auth edxapp_generic_auth_config: &edxapp_generic_auth
EVENT_TRACKING_SEGMENTIO_EMIT_WHITELIST: "{{ EDXAPP_EVENT_TRACKING_SEGMENTIO_EMIT_WHITELIST }}" EVENT_TRACKING_SEGMENTIO_EMIT_WHITELIST: "{{ EDXAPP_EVENT_TRACKING_SEGMENTIO_EMIT_WHITELIST }}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment