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

Test every time-series execution stat

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Execution
    • Fully Compatible
    • Execution Team 2024-04-15

       

       

      $ mongo --port 29913 --eval 'db.getSiblingDB("test").ts.stats().timeseries' > ts_execstats
      
      $ cut -d'"' -f2 ./ts_execstats | tail -n +6 | head -n 31 | xargs -I% sh -c "echo \"${CYAN}%${ENDCOLOR}\" && grep -rH --color=always \"assert.eq([1-9].*%\" jstests/noPassthrough/timeseries" 

      If these metrics mean anything, the second command above should yield a result for every stat. So far these are missing (generally, they only check equivalence to 0). This ticket is to ensure that each metric is tested to move successfully.

       

      After filtering out metrics checked in jstests/noPassthrough/timeseries/timeseries_collStats.js, here's the final list of untested metrics:

      • numBucketsClosedDueToSchemaChange
      • numBucketsClosedDueToTimeBackward
      • numMeasurementsGroupCommitted
      • numWaits
      • numBucketsClosedDueToReopening
      • numBucketsFetched
      • numBucketsQueried
      • numBucketFetchesFailed
      • numDuplicateBucketsReopened

            Assignee:
            matt.kneiser@mongodb.com Matt Kneiser
            Reporter:
            matt.kneiser@mongodb.com Matt Kneiser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: