Details
Description
The PrimaryOnlyService enters kPaused on step down, and the only times we remove an instance (or all instances) from _activeInstances is when we remove a state doc from disk, drop the state collection (neither of which we do on stepdown bc we rebuild using the on disk state), or when we swap out _activeInstances during shutdown and stepUp.