[SERVER-70104] Avoid unnecessary atomicity of range deleter service state Created: 29/Sep/22  Updated: 29/Oct/23  Resolved: 29/Sep/22

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

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

Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-10-03
Participants:

 Description   

The state of the range deleter service is kept as an AtomicWord . That introduces an unnecessary overhead considering that the state is already accessed in r/w under a mutex.



 Comments   
Comment by Githook User [ 29/Sep/22 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-70104 Avoid unnecessary atomicity of range deleter service state
Branch: master
https://github.com/mongodb/mongo/commit/540cff5317a7520ee4f8f288d37707094df3757c

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