[SERVER-75006] Add method to fully update read-copy-update map Created: 17/Mar/23  Updated: 29/Oct/23  Resolved: 21/Mar/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.0.0-rc0

Type: Improvement Priority: Major - P3
Reporter: Jordi Olivares Provencio Assignee: Jordi Olivares Provencio
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-75005 Integrate pre-image collection remova... Closed
Backwards Compatibility: Fully Compatible
Sprint: Execution Team 2023-04-03
Participants:

 Description   

As part of SERVER-75005 we've realised a need to have support for a method to block the map, compute something with the existing value, and then replace the map.

This is something similar in spirit to a functional mutable reference that has an update method.



 Comments   
Comment by Githook User [ 21/Mar/23 ]

Author:

{'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}

Message: SERVER-75006 Add updateWith method to read-copy-update map
Branch: master
https://github.com/mongodb/mongo/commit/33cc6a588ccb17078d3e942e57a097a89fb71250

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