[SERVER-26773] two_initsync.js should check that inserts succeed Created: 25/Oct/16  Updated: 05/Apr/17  Resolved: 13/Dec/16

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: 3.4.2, 3.5.1

Type: Bug Priority: Major - P3
Reporter: Judah Schvimer Assignee: Spencer Jackson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.4
Sprint: Platforms 2017-01-23
Participants:
Linked BF Score: 0

 Description   

It should both check that all inserts succeed by wrapping them in assert.writeOK() and also confirm that there are 20000 documents on the primary before adding a secondary.



 Comments   
Comment by Githook User [ 03/Jan/17 ]

Author:

{u'username': u'spencerjackson', u'name': u'Spencer Jackson', u'email': u'spencer.jackson@mongodb.com'}

Message: SERVER-26773: two_initsync.js should check that inserts succeed

(cherry picked from commit 1a054e3c3445e3b2ad8614f1b3914cd12fefa9a6)
Branch: v3.4
https://github.com/mongodb/mongo/commit/cf333a367bddfcdfc8191d3de508cfafc550753c

Comment by Githook User [ 13/Dec/16 ]

Author:

{u'username': u'spencerjackson', u'name': u'Spencer Jackson', u'email': u'spencer.jackson@mongodb.com'}

Message: SERVER-26773: two_initsync.js should check that inserts succeed
Branch: master
https://github.com/mongodb/mongo/commit/3fecf0005918bad649fa5ad0fb131b8f82af8932

Comment by Spencer Brody (Inactive) [ 25/Oct/16 ]

We should also enforce that the test is only run under old-style initial sync as part of this change.

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