Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-72686

Add support for $collStats agg stage on timeseries collection

    • 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

      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@mongodb.com Adi Agrawal
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: