[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: |
|
||||
| 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: |
| Comment by Githook User [ 08/Aug/18 ] |
|
Author: {'name': 'Dewal Gupta', 'email': 'dewal.gupta@10gen.com', 'username': 'dewalg'}Message: |