[SERVER-67848] Add range deletion service as a decoration on the ServiceContext Created: 07/Jul/22  Updated: 27/Jul/22  Resolved: 27/Jul/22

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

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

Issue Links:
Duplicate
duplicates SERVER-67636 Associate range deleter service lifet... Closed
Sprint: Sharding EMEA 2022-07-25, Sharding EMEA 2022-08-08
Participants:

 Description   

Making the RangeDeleterService decorate the service context would:

  • Ensure that only one instance of it sticks around
  • Making it easily retrievable from any place in the code

Moreover, it also turns out to be useful for testing because it makes it possible to automatically restart the service between C++ test cases.



 Comments   
Comment by Pierlauro Sciarelli [ 27/Jul/22 ]

Closing as duplicate because it will be committed under SERVER-67636

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