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

ARBITER constantly raises warnings due to missing local.oplog.rs

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • 7.0.4
    • None
    • Service Arch
    • ALL
    • Service Arch Prioritized List

    Description

      I recently updated to MongoDB version 7. I am using a sharded cluster with PSA (PRIMARY-SECONDARY-ARBITER) shards. The arbiter not is constantly writing every second this warning into to log:

      {
        "t": {
          "$date": "2024-01-17T07:47:12.004+01:00"
        },
        "s": "W",
        "c": "QUERY",
        "id": 23799,
        "ctx": "ftdc",
        "msg": "Aggregate command executor error",
        "attr": {
          "error": {
            "code": 26,
            "codeName": "NamespaceNotFound",
            "errmsg": "Unable to retrieve storageStats in $collStats stage :: caused by :: Collection [local.oplog.rs] not found."
          },
          "stats": {},
          "cmd": {
            "aggregate": "oplog.rs",
            "cursor": {},
            "pipeline": [
              {
                "$collStats": {
                  "storageStats": {
                    "waitForLock": false,
                    "numericOnly": true
                  }
                }
              }
            ],
            "$db": "local"
          }
        }
      } 

      It does not have a big impact, because the ARBITER does not store any data. However, it is filling up the logfile, I get every day a logfile of 55MB.

      I don't think a permanent warning should be part of a normally running mongod process

      Attachments

        Activity

          People

            backlog-server-servicearch Backlog - Service Architecture
            wernfried.domscheit@sunrise.net Wernfried Domscheit
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: