[SERVER-42800] skip size adjustments on temporary record stores for index builds Created: 13/Aug/19  Updated: 29/Oct/23  Resolved: 21/Aug/19

Status: Closed
Project: Core Server
Component/s: Storage
Affects Version/s: None
Fix Version/s: 4.2.1, 4.3.1

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

Issue Links:
Backports
Related
is related to SERVER-42621 3 way deadlock can happen between hyb... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v4.2
Sprint: Execution Team 2019-08-26
Participants:

 Description   

Temporary record stores are used to support side table writes for index builds. These record stores are not visible to users so there is no need to reconcile document counts and sizes. See example here.



 Comments   
Comment by Githook User [ 27/Aug/19 ]

Author:

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

Message: SERVER-42800 do no reconcile sizes on hybrid index side tables

(cherry picked from commit f643ad5e9d5c6c3283271c492a78831a5f6ec180)
Branch: v4.2
https://github.com/mongodb/mongo/commit/6e8038295076ffc6cec78b9fef51b363b8b848d2

Comment by Githook User [ 27/Aug/19 ]

Author:

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

Message: SERVER-42800 add support for overriding size adjustments to WiredTigerRecordStore

(cherry picked from commit 4193c52a217feff5f842158a192f8cefb8a3cb03)
Branch: v4.2
https://github.com/mongodb/mongo/commit/794273c6a1aaa76f992846d551bfaa3b9a838cc2

Comment by Githook User [ 21/Aug/19 ]

Author:

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

Message: SERVER-42800 do no reconcile sizes on hybrid index side tables
Branch: master
https://github.com/mongodb/mongo/commit/f643ad5e9d5c6c3283271c492a78831a5f6ec180

Comment by Githook User [ 16/Aug/19 ]

Author:

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

Message: SERVER-42800 add support for overriding size adjustments to WiredTigerRecordStore
Branch: master
https://github.com/mongodb/mongo/commit/4193c52a217feff5f842158a192f8cefb8a3cb03

Comment by Benety Goh [ 14/Aug/19 ]

This issue was discovered during SERVER-42621 where we were aborting a transaction while an index build was interrupted due to a step down. We were trying to rollback size adjustments to the hybrid index build side tables that had been potentially removed during the index build cleanup.

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