[DOCS-455] mongorestore manpage improvements Created: 29/Aug/12  Updated: 30/Oct/23  Resolved: 12/Sep/12

Status: Closed
Project: Documentation
Component/s: Server
Affects Version/s: None
Fix Version/s: Server_Docs_20231030

Type: Bug Priority: Major - P3
Reporter: Scott Hernandez (Inactive) Assignee: Bob Grabar
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-6887 mongorestore silently ignores documen... Closed
Participants:
Days since reply: 6 years, 25 weeks, 1 day ago

 Description   

It needs to explain that mongorestore just does inserts, and will not update existing data.

Also, need to mention that it does fire-n-forget inserts, and does not do safe writes.



 Comments   
Comment by Githook User [ 22/Aug/17 ]

Author:

{'username': 'kay-kim', 'email': 'kay.kim@10gen.com', 'name': 'kay'}

Message: DOCS-455: org/projects left-hand nav shuffle
Branch: master
https://github.com/10gen/mms-docs/commit/6de7adc92b1674ee7dc9e23d1a972229cac78588

Comment by Githook User [ 19/Aug/17 ]

Author:

{'username': 'kay-kim', 'email': 'kay.kim@10gen.com', 'name': 'kay'}

Message: DOCS-455: org/projects left-hand nav shuffle
Branch: v20170822-supergroup
https://github.com/10gen/mms-docs/commit/988e0bd0ee6c3976732813286226868efdc50140

Comment by Githook User [ 17/Aug/17 ]

Author:

{'username': 'kay-kim', 'email': 'kay.kim@10gen.com', 'name': 'kay'}

Message: DOCS-455: org/projects left-hand nav shuffle
Branch: v20170822-supergroup
https://github.com/10gen/mms-docs/commit/e192d102faa251313f3d86de11ab53152338157a

Comment by auto [ 13/Sep/12 ]

Author:

{u'date': u'2012-09-13T10:42:27-07:00', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: DOCS-455 modifying admonition
Branch: master
https://github.com/mongodb/docs/commit/83932aae7ef05c24742ef9ac467cf53e97e84d7f

Comment by auto [ 13/Sep/12 ]

Author:

{u'date': u'2012-09-13T10:29:08-07:00', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: minor: DOCS-455 edit
Branch: master
https://github.com/mongodb/docs/commit/3a967e13a58efdc5467635d7847b6dfed11208d0

Comment by auto [ 13/Sep/12 ]

Author:

{u'date': u'2012-09-13T10:29:08-07:00', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: minor: DOCS-455 edit
Branch: master
https://github.com/mongodb/docs/commit/7081d9f06af850d7bc603aee6277c39676ecd651

Comment by auto [ 13/Sep/12 ]

Author:

{u'date': u'2012-09-13T10:26:33-07:00', u'email': u'samk@10gen.com', u'name': u'Sam Kleinman'}

Message: merge: DOCS-455
Branch: master
https://github.com/mongodb/docs/commit/ac5e22f63a69c95c4752dd2ba2dcc028b2d56a08

Comment by auto [ 13/Sep/12 ]

Author:

{u'date': u'2012-09-12T14:23:56-07:00', u'email': u'bob.grabar@10gen.com', u'name': u'Bob Grabar'}

Message: SERVER-6961 DOCS-455 minor edit
Branch: master
https://github.com/mongodb/docs/commit/9fe6bb139494488daf1290e055a459efd8ed4823

Comment by auto [ 13/Sep/12 ]

Author:

{u'date': u'2012-09-12T14:21:22-07:00', u'email': u'bob.grabar@10gen.com', u'name': u'Bob Grabar'}

Message: SERVER-6961 DOCS-455 mongodump and mongorestore documentation
Branch: master
https://github.com/mongodb/docs/commit/8438d4bcfe633e61ca86ec78a192ed08bc1f0154

Comment by Sam Kleinman (Inactive) [ 29/Aug/12 ]

right. just adding note to clarify the aforementioned change in case I'm not the one to work on this ticket.

Comment by Scott Hernandez (Inactive) [ 29/Aug/12 ]

As I stated, it does not do plain "safe" writes (w:1) since w<2 is not supported. If you do a w:2 on single replica set member it will hang indefinitely waiting for a second node to acknowledge the replication oplog write.

Comment by Sam Kleinman (Inactive) [ 29/Aug/12 ]

--w added in 2.2 adds write concern support.

Comment by Scott Hernandez (Inactive) [ 29/Aug/12 ]

Also, w < 2 is ignored.

https://github.com/mongodb/mongo/blob/master/src/mongo/tools/restore.cpp#L354

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