[SERVER-25800] StorageInterfaceImpl::insertDocuments needs to retry one-at-a-time on failures Created: 25/Aug/16  Updated: 25/Jan/17  Resolved: 01/Sep/16

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.3.14

Type: Bug Priority: Major - P3
Reporter: Mathias Stearn Assignee: Benety Goh
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to SERVER-24728 Oplog as Buffer: create new error cod... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2016-09-19
Participants:

 Description   

StorageInterfaceImpl::insertDocuments currently only tries to insert all documents as a single batch. All batch insert code is supposed to fall back to one-at-a-time inserts on any failure.



 Comments   
Comment by Githook User [ 01/Sep/16 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-25800 StorageInterface::insertDocuments no longer checks for empty array of operations
Branch: master
https://github.com/mongodb/mongo/commit/ef5fbc9d0ce9deb1661543a6e59c5e080e64f765

Comment by Githook User [ 01/Sep/16 ]

Author:

{u'username': u'benety', u'name': u'Benety Goh', u'email': u'benety@mongodb.com'}

Message: SERVER-25800 insertDocuments falls back on inserting documents one at a time if all-at-once inserting fails
Branch: master
https://github.com/mongodb/mongo/commit/ac2b7075e40fa59e8b1ed77d2510f6e9a562eeee

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