-
Type:
Task
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
Fully Compatible
-
CAR Team 2025-04-14
-
0
-
None
-
None
-
None
-
None
-
None
-
None
-
None
We have many timeseries tests under jstests/core/timeseries/ that use the following pattern to check if the timeseries collection is sharded.
const bucketsColl = db.getCollection('system.buckets.' + coll.getName());
const isShardedTimeseries = FixtureHelpers.isSharded(bucketsColl);
For viewless timeseries collection the system.buckets collection does not exist so we should check directly if `coll` is sharded rather than the buckets collection.
The goal of this ticket is to replace these checks with a new logic that:
- Works also for viewless timeseries collection
- Works also in mutiverison suites.