Closed ramunas-omnisend closed 4 weeks ago
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 3 committers have signed the CLA.
:white_check_mark: ramunas-omnisend
:x: zygis
:x: ritmas
You have signed the CLA already but the status is still pending? Let us recheck it.
Will open another PR
Details: When a view is created inside a MongoDB database, a special collection named
system.views
is also created. Attempting to callIndexStats
onsystem.views
results in anUnauthorized
error, even when executed with root privileges.For example:
This fix filters out system collections like
system.views
when gatheringIndexStats
, preventing these unnecessary errors from appearing in the logs.