[DOCS-7353] Document limited circumstances for writing to the configdb Created: 07/Mar/16 Updated: 30/Oct/23 Resolved: 30/Mar/16 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kevin Pulo | Assignee: | Steve Renaker (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Participants: | |||||
| Days since reply: | 7 years, 46 weeks ago | ||||
| Description |
|
The docs at https://docs.mongodb.org/manual/reference/config-database/ state:
While all of this is true, there is one situation where it is acceptable to write to the config db. This is the case of doing a test write to unused collection in order to verify the write availability of the config servers. For example, running the following on a mongos:
If this succeeds, the the config servers are up and able to successfully process writes. If this fails, then they are not. Since the collections in the config db may change over time (ie. future releases of the server may use collections that older versions do not), users wishing to do this must choose the name of test-write collection very carefully to avoid any potential collisions in the future (hence "testConfigServerWriteAvail" in the example above). It is still never acceptable under any circumstances to store any general-purpose user data in the config db, since that's not its intended purpose and it hasn't been designed for such a use case. |
| Comments |
| Comment by Githook User [ 30/Mar/16 ] |
|
Author: {u'username': u'steveren', u'name': u'Steve Renaker', u'email': u'steve.renaker@mongodb.com'}Message: Signed-off-by: kay <kay.kim@10gen.com> |
| Comment by Githook User [ 30/Mar/16 ] |
|
Author: {u'username': u'steveren', u'name': u'Steve Renaker', u'email': u'steve.renaker@mongodb.com'}Message: Signed-off-by: kay <kay.kim@10gen.com> |
| Comment by Githook User [ 30/Mar/16 ] |
|
Author: {u'username': u'steveren', u'name': u'Steve Renaker', u'email': u'steve.renaker@mongodb.com'}Message: Signed-off-by: kay <kay.kim@10gen.com> |
| Comment by Githook User [ 30/Mar/16 ] |
|
Author: {u'username': u'steveren', u'name': u'Steve Renaker', u'email': u'steve.renaker@mongodb.com'}Message: Signed-off-by: kay <kay.kim@10gen.com> |