Details
-
Improvement
-
Resolution: Done
-
Minor - P4
-
None
-
mongodb-2.2
-
None
-
None
Description
http://docs.mongodb.org/manual/reference/replica-configuration/#replica-set-reconfiguration-usage
You show an example of reconfiguring a replica set here:
cfg = rs.conf()
|
cfg.members[0].priority = 0.5
|
cfg.members[1].priority = 2
|
cfg.members[2].priority = 2
|
rs.reconfig(cfg)
|
You should print the original and resulting config right in the example and explain what your doing in comments.