[SERVER-38986] Timestamp drained writes from the index build side table to the index Created: 14/Jan/19  Updated: 29/Oct/23  Resolved: 06/Feb/19

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

Type: Task Priority: Major - P3
Reporter: Dianna Hohensee (Inactive) Assignee: Louis Williams
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
is depended on by SERVER-37952 Restart index builds from persisted r... Closed
Related
related to SERVER-39085 move secondary oplog application logi... Closed
related to SERVER-44186 allow index builds to continue runnin... Closed
Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2019-01-28, Storage NYC 2019-02-11
Participants:
Linked BF Score: 0

 Description   

In order for rollback/restart to work properly with resuming simultaneous index builds work in the draining phase, secondaries must start picking timestamps at which to do certain writes so that recover to a stable timestamp moves all the information backwards in concert. Note these timestamps will not be associated with a unique oplog entry.

The writes needing timestamps:
1) Index catalog entry updates, for example to track index build phases to know if the build is recoverable or must be restarted from scratch this will be done in SERVER-37645
2) Deletes from thee side table when draining & subsequent writes to the index, which occur in the same transaction with the same timestamp.



 Comments   
Comment by Githook User [ 06/Feb/19 ]

Author:

{'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}

Message: SERVER-38986 Fix error codes
Branch: master
https://github.com/mongodb/mongo/commit/5cbcfe8b8a2444a7d5d6274ff90d7de32eef9adc

Comment by Githook User [ 06/Feb/19 ]

Author:

{'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}

Message: SERVER-38986 Timestamp writes while draining
Branch: master
https://github.com/mongodb/mongo/commit/bb69551adf200b1b050476ad01b765018d5bac80

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