SERVER-137527ClosedFixed

Reorder timeseries verification checks

Verify first that the collection is a [valid timeseries |https://github.com/10gen/mongo/blob/3c283495766841588d28dba95c70bf8382f7507a/src/mongo/db/shard_role/shard_catalog/database_impl.cpp#L1002-L1007]. Assert [viewlessTimeseries|https://github.com/10gen/mongo/blob/3c283495766841588d28dba95c70bf8382f7507a/src/mongo/db/shard_role/shard_catalog/database_impl.cpp#L1002-L1007] afterwards.

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-rc10259.0.9
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.