[SERVER-48476] resumable index build should use majority read cursor for collection scan Created: 28/May/20  Updated: 29/Oct/23  Resolved: 08/Jul/20

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.7.0

Type: Task Priority: Major - P3
Reporter: Benety Goh Assignee: Samyukta Lanka
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-50360 ValidateStateTest::OpenCursorsOnAllIn... Closed
related to SERVER-50366 StorageTimestampTests::TimestampIndex... Closed
related to SERVER-50391 Index build hung during startup recov... Closed
related to SERVER-50446 make index builds non-resumable when ... Closed
related to SERVER-50519 resumable index build hangs waiting f... Closed
related to SERVER-49075 Add replica_sets suite to resumable i... Closed
related to SERVER-49076 Add rollback fuzzer suites to resumab... Closed
related to SERVER-49083 Make noPassthrough tests work with re... Closed
related to SERVER-49774 Enable rollback testing for resumable... Closed
related to SERVER-50539 extend resumable index build majority... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2020-06-15, Execution Team 2020-06-29, Execution Team 2020-07-13
Participants:
Linked BF Score: 0

 Description   

For resumable index builds, in order to ensure that we do not need to roll back any of the keys inserted into the sorter, the collection scan should start at a timestamp that has been majority committed. We will also need to ensure that the side writes table doesn't miss any writes. When we initially begin the collection scan, we must first install the side writes interceptor and then wait for the last oplog entry (the last entry that was not captured by the interceptor) to become majority committed, before establishing the snapshot to read the collection.



 Comments   
Comment by Githook User [ 08/Jul/20 ]

Author:

{'name': 'Samy Lanka', 'email': 'samy.lanka@mongodb.com', 'username': 'lankas'}

Message: SERVER-48476 Use majority read cursor for collection scan in resumable index builds
Branch: master
https://github.com/mongodb/mongo/commit/5e3c06a9a7ed5ccb9ea3e352111ad3f3b6ce0376

Comment by Githook User [ 26/Jun/20 ]

Author:

{'name': 'Samy Lanka', 'email': 'samy.lanka@mongodb.com', 'username': 'lankas'}

Message: SERVER-48476 blacklist tagged tests in resumable index build variant
Branch: master
https://github.com/mongodb/mongo/commit/85d3926ca00a245317d8562ff07128894bf740d7

Comment by Githook User [ 26/Jun/20 ]

Author:

{'name': 'Samy Lanka', 'email': 'samy.lanka@mongodb.com', 'username': 'lankas'}

Message: SERVER-48476 Blacklist backup_restore_backup_cursor.js in resumable index build variant
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/cdb74520ac4e1b13c221b5c3626ca0cb46582f90

Generated at Thu Feb 08 05:17:14 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.