[SERVER-26387] Replace noPassthrough/indexbg2.js with test that uses failpoints Created: 29/Sep/16  Updated: 22/Aug/18  Resolved: 21/Jun/18

Status: Closed
Project: Core Server
Component/s: Index Maintenance
Affects Version/s: None
Fix Version/s: 3.4.17, 3.6.8, 4.0.2, 4.1.1

Type: Task Priority: Major - P3
Reporter: James Wahlin Assignee: Audrey Fang (Inactive)
Resolution: Done Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.0, v3.6, v3.4
Sprint: Storage NYC 2018-06-18, Storage NYC 2018-07-02
Participants:
Linked BF Score: 18

 Description   

Replace noPassthrough/indexbg2.js with a test that uses failpoints. This test will confirm expected behavior of duplicate key insertion during background unique index builds. Included will be checks that unique background index build:

  1. Fails when there exists duplicate indexed values for the duration of the build.
  2. Fails when started with a unique key set, but a document with a duplicate key is inserted prior to that key being indexed.
  3. Succeeds when a document is inserted with a key that has already been indexed (with the insert failing on duplicate key error).
  4. Succeeds when a document with a key not present in the initial set is inserted twice (with the initial insert succeeding and the second failing on duplicate key error).


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

Author:

{'name': 'Audrey Fang', 'email': 'audrey.fang@10gen.com', 'username': 'audreyfang'}

Message: SERVER-26387: Replace noPassthrough/indexbg2.js with test that uses
failpoints

(cherry picked from commit 1ba4fd11653654df741b5c399a85f38617b21ec8)
Branch: v3.6
https://github.com/mongodb/mongo/commit/a8209bc6b221604ee0b646ed3427a4097fb8b44f

Comment by Githook User [ 22/Aug/18 ]

Author:

{'name': 'Audrey Fang', 'email': 'audrey.fang@10gen.com', 'username': 'audreyfang'}

Message: SERVER-26387: Exclude noPassthrough/indexbg2.js from running on MMAPv1

(cherry picked from commit 8b1758c4680123934080a4ad1cb7dfc1f49a3e18)
Branch: v3.6
https://github.com/mongodb/mongo/commit/b19ea04a46a125a20278e7b03f1ea9b2cea9cc19

Comment by Githook User [ 15/Aug/18 ]

Author:

{'username': 'audreyfang', 'email': 'audrey.fang@10gen.com', 'name': 'Audrey Fang'}

Message: SERVER-26387: Replace noPassthrough/indexbg2.js with test that uses
failpoints

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

Comment by Githook User [ 15/Aug/18 ]

Author:

{'username': 'audreyfang', 'email': 'audrey.fang@10gen.com', 'name': 'Audrey Fang'}

Message: SERVER-26387: Exclude noPassthrough/indexbg2.js from running on MMAPv1

(cherry picked from commit 8b1758c4680123934080a4ad1cb7dfc1f49a3e18)
Branch: v3.4
https://github.com/mongodb/mongo/commit/73b02dc629b72d835534ee5e555603f5eade26be

Comment by Githook User [ 15/Aug/18 ]

Author:

{'username': 'audreyfang', 'email': 'audrey.fang@10gen.com', 'name': 'Audrey Fang'}

Message: SERVER-26387: Replace noPassthrough/indexbg2.js with test that uses
failpoints

(cherry picked from commit 1ba4fd11653654df741b5c399a85f38617b21ec8)
Branch: v4.0
https://github.com/mongodb/mongo/commit/76887cc0426e5145da0ce3d97b6054a65c3d4b8f

Comment by Githook User [ 15/Aug/18 ]

Author:

{'username': 'audreyfang', 'email': 'audrey.fang@10gen.com', 'name': 'Audrey Fang'}

Message: SERVER-26387: Exclude noPassthrough/indexbg2.js from running on MMAPv1
Branch: v4.0
https://github.com/mongodb/mongo/commit/8b1758c4680123934080a4ad1cb7dfc1f49a3e18

Comment by Githook User [ 21/Jun/18 ]

Author:

{'username': 'audreyfang', 'name': 'Audrey Fang', 'email': 'audrey.fang@10gen.com'}

Message: SERVER-26387: Replace noPassthrough/indexbg2.js with test that uses
failpoints
Branch: master
https://github.com/mongodb/mongo/commit/1ba4fd11653654df741b5c399a85f38617b21ec8

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