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

Aggregate metric value continually increments when no aggregates are run

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Gone away
    • Icon: Major - P3 Major - P3
    • None
    • 6.0.0-rc11
    • None
    • ALL
    • Hide

      $ curator artifacts download  --target osx --arch x86_64 --version 6.0-stable --edition enterprise --path /tmp/v60
       
      $ mlaunch init --replicaset  --binarypath /tmp/v60/mongodb-macos-x86_64-enterprise-6.0.0-rc11/bin
       
      $ mongo 
      # Expecting "total" to be 0
       
      MongoDB Enterprise replset:PRIMARY> db.serverStatus().metrics.commands.aggregate
      { "failed" : NumberLong(0), "total" : NumberLong(30) }
      MongoDB Enterprise replset:PRIMARY> db.serverStatus().metrics.commands.aggregate
      { "failed" : NumberLong(0), "total" : NumberLong(31) }
      MongoDB Enterprise replset:PRIMARY> db.serverStatus().metrics.commands.aggregate
      { "failed" : NumberLong(0), "total" : NumberLong(32) }
      MongoDB Enterprise replset:PRIMARY> db.serverStatus().metrics.commands.aggregate
      { "failed" : NumberLong(0), "total" : NumberLong(33) }
      MongoDB Enterprise replset:PRIMARY> db.serverStatus().metrics.commands.aggregate
      { "failed" : NumberLong(0), "total" : NumberLong(34) }
      MongoDB Enterprise replset:PRIMARY> db.serverStatus().metrics.commands.aggregate
      { "failed" : NumberLong(0), "total" : NumberLong(35) }

      Show
      $ curator artifacts download  --target osx --arch x86_64 --version 6.0 -stable --edition enterprise --path /tmp/v60   $ mlaunch init --replicaset  --binarypath /tmp/v60/mongodb-macos-x86_64-enterprise- 6.0 . 0 -rc11/bin   $ mongo # Expecting "total" to be 0   MongoDB Enterprise replset:PRIMARY> db.serverStatus().metrics.commands.aggregate { "failed" : NumberLong( 0 ), "total" : NumberLong( 30 ) } MongoDB Enterprise replset:PRIMARY> db.serverStatus().metrics.commands.aggregate { "failed" : NumberLong( 0 ), "total" : NumberLong( 31 ) } MongoDB Enterprise replset:PRIMARY> db.serverStatus().metrics.commands.aggregate { "failed" : NumberLong( 0 ), "total" : NumberLong( 32 ) } MongoDB Enterprise replset:PRIMARY> db.serverStatus().metrics.commands.aggregate { "failed" : NumberLong( 0 ), "total" : NumberLong( 33 ) } MongoDB Enterprise replset:PRIMARY> db.serverStatus().metrics.commands.aggregate { "failed" : NumberLong( 0 ), "total" : NumberLong( 34 ) } MongoDB Enterprise replset:PRIMARY> db.serverStatus().metrics.commands.aggregate { "failed" : NumberLong( 0 ), "total" : NumberLong( 35 ) }
    • Sharding EMEA 2022-08-08, Sharding EMEA 2022-08-22
    • 3

    Description

      MongoDB v6.0
      Replica set setup

      db.serverStatus().metrics.commands.aggregate value increments about every second on all nodes of the replica set on a system with no aggregations run by user.

      This behavior is different from version 5.3 and earlier versions.  We have tests where we expect the value to be 0 when no queries have been run, which fail now.

      Attachments

        1. data-issues.tar
          4.61 MB
        2. data-no-issues.tar
          7.85 MB
        3. image-2022-07-07-14-03-13-999.png
          image-2022-07-07-14-03-13-999.png
          27 kB
        4. lv with issues.png
          lv with issues.png
          641 kB

        Activity

          People

            allison.easton@mongodb.com Allison Easton
            oliver.bucaojit@mongodb.com Oliver Bucaojit
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: