Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
cf91b9b1
Commit
cf91b9b1
authored
Jan 10, 2017
by
Filippo Panessa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix comments
parent
848fd291
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
CHANGELOG.md
+1
-1
playbooks/library/mongodb_replica_set
+3
-2
No files found.
CHANGELOG.md
View file @
cf91b9b1
...
...
@@ -200,7 +200,7 @@
-
Role: mongo_3_0
-
Changed MONGO_STORAGE_ENGINE to default to wiredTiger which is the default in 3.2 and 3.4 and what edX suggests be used even on 3.0.
If you have a mmapv1 3.0 install, override MONGO_STORAGE_ENGINE to be mmapv1 which was the old default.
-
Ready for deploying Mongo 3.2
-
Support parsing the replset JSON in 3.2 and 3.0
-
Role: xqueue
-
Added
`EDXAPP_CELERY_BROKER_USE_SSL`
to allow configuring celery to use TLS.
...
...
playbooks/library/mongodb_replica_set
View file @
cf91b9b1
...
...
@@ -269,8 +269,9 @@ def update_replset(rs_config):
if
not
check_config_subset
(
rs_config
,
changed_rs_config
):
module
.
fail_json
(
msg
=
"Failed to validate that the replica set was changed"
,
new_config
=
changed_rs_config
,
config
=
rs_config
)
#Remove settings from changed_rs_config before exit to avoid
#problem with exit_json() and unserializable ObjectId
# Remove settings from changed_rs_config before exit to avoid
# problem with exit_json() and unserializable ObjectId
# because MongoDB returns JSON which is not serializable
if
changed_rs_config
.
get
(
'settings'
)
is
not
None
:
changed_rs_config
[
'settings'
]
=
None
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment