[DOCS-11360] [TOOLS] Clarify that mongorestore does not support concurrent restoration Created: 08/Feb/18 Updated: 22/Jan/24 |
|
| Status: | Backlog |
| Project: | Documentation |
| Component/s: | Server, tools |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Alex Hu | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | backlog, replication, request | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
mongorestore version: r3.4.10 |
||
| Participants: | |
| Days since reply: | 45 weeks, 2 days ago |
| Description |
|
Use mongodump/mongorestore to migrate data from many standalone mongod instances to a central replica set.
|
| Comments |
| Comment by Ashley Brown [ 27/Mar/23 ] |
|
Hi tim.fogarty@mongodb.com, could you confirm this is still relevant? Otherwise we'll close. Thanks! |
| Comment by David Golden [ 13/Mar/23 ] |
|
Defering to tim.fogarty@mongodb.com |
| Comment by Ashley Brown [ 13/Mar/23 ] |
|
Hi david.golden@mongodb.com, is this still relevant? If not, we'll close. Thanks! |
| Comment by David Golden [ 27/Feb/18 ] |
|
Hi, Alex. We don't support concurrent restoration. I'm going to move this to the docs project so that can be clarified. |
| Comment by Alex Hu [ 12/Feb/18 ] |
|
Hi Mark, I think the reason maybe createCollection + insertData is not in a server side transaction. The scenario is:
I suspect that one instance checked and found db.collection didn't exist, then try to create it before insert data while another instance try to do the same thing. Since check + create is neither a server-side transaction nor in a critical section. |
| Comment by Mark Agarunov [ 09/Feb/18 ] |
|
Hello huyingming, Thank you for the report. To get a better idea of what may be causing this, could you please provide the complete logs from the affected mongod node(s) as well as the complete output from mongorestore? This should give us some insight into what may be causing this behavior. Thanks, |