[SERVER-38259] Don't copy the tree on changes if all cursors are positioned behind it in BiggieSE Created: 27/Nov/18  Updated: 29/Oct/23  Resolved: 02/Dec/18

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

Type: Improvement Priority: Major - P3
Reporter: Gregory Wlodarek Assignee: Gregory Wlodarek
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-38340 Make a BiggieSE nightly Evergreen var... Closed
Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2018-12-03
Participants:

 Description   

Currently the biggie storage engine makes a copy on write of the head tree to any pending modifications even if all the cursors are behind the master copy.
We should avoid doing this so that we don't have to keep track of a potentially large trail of history (space and time consuming) that will be unused by the cursors when they catch up to the head again.



 Comments   
Comment by Githook User [ 02/Dec/18 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-38259 Don't copy the tree on changes if all cursors are positioned behind it in BiggieSE
Branch: master
https://github.com/mongodb/mongo/commit/88bcf424bc9830454847f015757ad710ee30827d

Comment by Githook User [ 02/Dec/18 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: Revert "SERVER-38259 Don't copy the tree on changes if all cursors are positioned behind it in BiggieSE"

This reverts commit cc503cd8acf294c09de3986acf35af7bce796a3a.
Branch: master
https://github.com/mongodb/mongo/commit/6aee0c4dc67fc4adaa3af60948349de2512d8bc8

Comment by Githook User [ 02/Dec/18 ]

Author:

{'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}

Message: SERVER-38259 Don't copy the tree on changes if all cursors are positioned behind it in BiggieSE
Branch: master
https://github.com/mongodb/mongo/commit/cc503cd8acf294c09de3986acf35af7bce796a3a

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