[DOCS-14765] Add additional examples to method/rs.reconfig page Created: 27/Aug/21  Updated: 13/Nov/23  Resolved: 08/Sep/21

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.0.0, 4.4.0, 5.0.0, 5.1.0, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Minor - P4
Reporter: Ian Fogelman Assignee: Ian Fogelman
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 2 years, 22 weeks ago
Story Points: 3

 Description   

Currently https://docs.mongodb.com/manual/reference/method/rs.reconfig/#examples only covers configuration changes to member properties such as priority.

 

It would be valuable to include additional example of how to update the setting values such as : chainingAllowed, heartbeatIntervalMillis, heartbeatTimeoutSecs in the "settings" of the config document.

 

Ref : https://gist.github.com/ianf-mongodb/e6827d1b11720e774745cdf3879c5984#file-getlasterrordefaultstestcase-sh

 



 Comments   
Comment by Githook User [ 08/Sep/21 ]

Author:

{'name': 'ian fogelman', 'email': 'ian.fogelman@mongodb.com', 'username': 'ianf-mongodb'}

Message: DOCS-14765 Add Extra code examples for rs.reconfig()
Branch: v4.0
https://github.com/mongodb/docs/commit/b2b1bfebf2369cc581b2ec04afb10c993ebbc9ae

Comment by Githook User [ 08/Sep/21 ]

Author:

{'name': 'ian fogelman', 'email': 'ian.fogelman@mongodb.com', 'username': 'ianf-mongodb'}

Message: DOCS-14765 Add Extra code examples for rs.reconfig()
Branch: v4.2
https://github.com/mongodb/docs/commit/85f995778ca143bbfb7f74f05e55bba26bcdee66

Comment by Githook User [ 08/Sep/21 ]

Author:

{'name': 'ian fogelman', 'email': 'ian.fogelman@mongodb.com', 'username': 'ianf-mongodb'}

Message: DOCS-14765 Add Extra code examples for rs.reconfig()
Branch: v4.4
https://github.com/mongodb/docs/commit/514fa0492e86ddf9905d69dab6e3175c0df4dda7

Comment by Githook User [ 08/Sep/21 ]

Author:

{'name': 'ian fogelman', 'email': 'ian.fogelman@mongodb.com', 'username': 'ianf-mongodb'}

Message: DOCS-14765 Add Extra code examples for rs.reconfig()
Branch: v5.0
https://github.com/mongodb/docs/commit/2554a15051a54fa47547ee612a86b485d2dfffe0

Comment by Githook User [ 08/Sep/21 ]

Author:

{'name': 'ian fogelman', 'email': 'ian.fogelman@mongodb.com', 'username': 'ianf-mongodb'}

Message: DOCS-14765 Add Extra code examples for rs.reconfig()
Branch: master
https://github.com/mongodb/docs/commit/0c95b3eb6a24f34e74c8948091734f104b66fbf2

Generated at Thu Feb 08 08:11:08 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.