[DOCS-766] Sharded bulk insert in 2.0/2.2 mongos must be verified by application logic Created: 16/Nov/12 Updated: 22/Feb/13 Resolved: 22/Feb/13 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | mongodb-2.2 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Greg Studer | Assignee: | Bob Grabar |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Days since reply: | 10 years, 51 weeks, 5 days ago | ||||||||||||||||
| Description |
|
Because of issues in bulk insert, to be truly safe an application must verify bulk inserts via application logic - getLastError() is required but not sufficient. Versions < 2.4. |
| Comments |
| Comment by auto [ 22/Feb/13 ] |
|
Author: {u'date': u'2013-02-22T20:09:00Z', u'name': u'Sam Kleinman', u'email': u'samk@10gen.com'}Message: |
| Comment by auto [ 22/Feb/13 ] |
|
Author: {u'date': u'2013-02-16T00:08:27Z', u'name': u'Bob Grabar', u'email': u'bob.grabar@10gen.com'}Message: |
| Comment by Sam Kleinman (Inactive) [ 23/Jan/13 ] |
|
yes. this is less a driver issue and more a mongos behavior with regard to batch insert issue |
| Comment by Ed Costello [ 23/Jan/13 ] |
|
Would this still be the case with the new default GLE behavior in the drivers? |
| Comment by Scott Hernandez (Inactive) [ 16/Nov/12 ] |
|
Application logic might be doing a query for each document to verify it was correctly inserted, for example. safe/getLastError calls with bulk inserts is not sufficient. |