SERVER-137806ClosedDone

Analyze shard key background hook should not try to analyze temporary resharding collection

This is causing BF-46817, where the hook tries to [run a find|https://github.com/10gen/mongo/blob/40b9e7144056805376bed7f0ef3808343d6bf9cb/jstests/hooks/run_analyze_shard_key_background.js#L309-L312] on the temporary resharding collection to determine a possible shard key to analyze. But the temporary resharding collection was dropped resulting in repeated StaleConfig errors.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc1025
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.