[SERVER-71275] Move up initialization of range deleter processor's `state` Created: 11/Nov/22  Updated: 29/Oct/23  Resolved: 11/Nov/22

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

Type: Bug 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

Issue Links:
Depends
Problem/Incident
is caused by SERVER-70964 Do not wait for range deletion thread... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding EMEA 2022-11-14
Participants:
Linked BF Score: 55

 Description   

The range deleter processor's state is initialized right after the thread.
Move it up in order to make sure the thread does not read a wrong value before initialization happens. When the race condition happens, the thread will return and no range deletion will be served.



 Comments   
Comment by Githook User [ 11/Nov/22 ]

Author:

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

Message: SERVER-71275 Move up initialization of range deleter processor's state
Branch: master
https://github.com/mongodb/mongo/commit/baec3c777441b2332fb199737fd8b76616e4a6f3

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