Details
-
Improvement
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Storage Execution
-
Fully Compatible
-
Execution Team 2023-12-11
Description
When initially implementing namespace filtering for OpObservers in SERVER-77364, there were four OpObservers that didn't filter on inserts.
Upon deeper review, I see that the AuthOpObserver which logs certain server operations, ultimately inspects the namespace of the operation and only cares about namespaces that the filter already provides for.
What makes this OpObserver extra expensive is that it does the namespace filtering for each element in a group of inserts, incurring an extra iteration over the list of inserts.
Therefore, we should be able to add a namespace filter (like this) to the AuthOpObserver to pull in a slight performance improvement in the hot-path of every insert to user collections.