Hi All,
I have a Percona MongoDB (version 7.0.11-6) replica set consisting of two data-bearing nodes and one arbiter node.
While reviewing the arbiter’s log (mongodb.log
), I noticed several lines (250K rows in 3 days) with information like the following:
{“t”:{“$date”:“2024-10-10T03:43:56.002+02: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 seems there is an error related to the execution of the Aggregate
command, specifically a NamespaceNotFound
error, which is likely caused by the missing local.oplog.rs
collection.
Has anyone encountered a similar issue or have suggestions on how to resolve this?
Thanks in advance for your help!
AT