Details
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