Make isShardedTimeseries test helper resilient to viewless timeseries upgrade/downgrade

XMLWordPrintableJSON

    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2026-02-16
    • 🟩 Routing and Topology
    • None
    • None
    • None
    • None
    • None
    • None

      The isShardedTimeseries test helper is implemented as:

      return FixtureHelpers.isSharded(coll) || FixtureHelpers.isSharded(getTimeseriesBucketsColl(coll))

       

      It's possible that:

      • "coll" is a sharded timeseries, in viewful format
      • The first operand is evaluated. Since "coll" is in viewful format, it return false.
      • "coll" gets upgraded to viewless timeseries
      • The second operand is evaluated. Since "coll" is in viewless format, it return false.

       

      So we would return false even though "coll" is sharded timeseries.

            Assignee:
            Joan Bruguera Micó
            Reporter:
            Joan Bruguera Micó
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: