[SERVER-78076] Don't start change collection and pre-image removers if in Queryable Backup Mode Created: 14/Jun/23  Updated: 27/Oct/23  Resolved: 03/Aug/23

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

Type: Improvement Priority: Major - P3
Reporter: Jordi Olivares Provencio Assignee: Haley Connelly
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Sprint: Execution EMEA Team 2023-08-07
Participants:

 Description   

Right now we start up the removers if the server is not in standalone mode.

We should expand the branch to cover the case where the server is in queryable backup mode to avoid removing data.



 Comments   
Comment by Haley Connelly [ 03/Aug/23 ]

Closing because it turns out we uassert if queryableBackupMode is in a replica set. We use the same condition to check whether it is in a replica set in the uassert check as we do when checking whether to run the removers.

Comment by Haley Connelly [ 01/Aug/23 ]

It appears that queryableBackupMode is compatible with --shardsvr according to this comment.

Comment by Haley Connelly [ 27/Jul/23 ]

It looks like querableBackupMode can only be done as standalone. We even have a test that validates the option is incompatible with the --replSet. Closing as works as designed. 

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