[SERVER-35820] Efficiently share biggie store instances Created: 26/Jun/18  Updated: 29/Oct/23  Resolved: 08/Aug/18

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

Type: Task Priority: Major - P3
Reporter: Geert Bosch Assignee: Dewal Gupta
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Sprint: Storage NYC 2018-07-02, Storage NYC 2018-07-16, Storage NYC 2018-07-30, Storage NYC 2018-08-13
Participants:
Linked BF Score: 0

 Description   

Currently, copying a biggie store requires actually copying all data, even if the copies stay the same. Change this to share the map on copy (using std::shared_ptr), but require it to be unshared before making modifications (by actually making a copy if use_count > 1).



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

Author:

{'username': 'dewalg', 'name': 'Dewal Gupta', 'email': 'dewal.gupta@10gen.com'}

Message: SERVER-35820 Fix Windows compile error due to Biggie SE
Branch: master
https://github.com/mongodb/mongo/commit/a78c82c1330a926557fd4207f7d1ea52fc7de2c1

Comment by Githook User [ 08/Aug/18 ]

Author:

{'name': 'Dewal Gupta', 'email': 'dewal.gupta@10gen.com', 'username': 'dewalg'}

Message: SERVER-35820 Implements radix trie for biggie storage engine allowing more efficient copying on modification
Branch: master
https://github.com/mongodb/mongo/commit/e02b9388ce31740cb2daf7ed86ead382ed66b3b5

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