[SERVER-68626] Check feature flag to enable either the range deleter service or the legacy range deleter Created: 08/Aug/22  Updated: 29/Oct/23  Resolved: 10/Aug/22

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

Type: Task 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
is depended on by SERVER-68552 Add unit test checking range deleter ... Closed
is depended on by SERVER-68625 Initialize local catalog metadata in ... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding EMEA 2022-08-22
Participants:

 Description   

Use the featureFlagRangeDeletionService to protect the execution of the range deleter service:

  • ENABLED: disable the legacy range deleter
  • DISABLED: keep on using the legacy range deleter

Once the feature flag will be enabled/disabled in the range deleter service test fixture's setup/teardown, it will be possible to run unit tests without creating interference between the two components.

As the range deleter service is not performing actual deletions yet, the feature flag will have to be flagged as always disabled in order to prevent "all feature flags" variants to disable the legacy range deleter.


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