Add support for $collStats agg stage on timeseries collection

XMLWordPrintableJSON

    • Query Execution
    • Fully Compatible
    • ALL
    • v7.0, v6.3, v6.0, v5.0
    • Hide

      Apply collstats-timeseries-repro.patch on top of r6.3.0-alpha-1691-gf2a95d46b1d and run:

      resmoke.py --suite=sharding --mongodSetParameters="{logComponentVerbosity: {sharding: 3, command: 3}}" jstests/sharding/timeseries_cluster_collstats.js
      
      Show
      Apply collstats-timeseries-repro.patch on top of r6.3.0-alpha-1691-gf2a95d46b1d and run: resmoke.py --suite=sharding --mongodSetParameters="{logComponentVerbosity: {sharding: 3, command: 3}}" jstests/sharding/timeseries_cluster_collstats.js
    • QE 2023-02-06, QE 2023-02-20, QE 2023-03-06, QE 2023-03-20, QE 2023-04-03, QE 2023-04-17, QE 2023-05-01
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      In SERVER-57589 we added support for collStats command on timeseries collection. On the other hand the $collStats aggregation stage does not fully support timeseries. In particular if we execute

      [{'$collStats': {'storageStats': {}}}]

      on a timeseries collection we will  get a StaleConfig error.

            Assignee:
            Adi Agrawal (Inactive)
            Reporter:
            Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: