-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
Query Integration
Currently, upon start-up of mongod, a global instance of JS script engine is registered as a KillOpListener (i.e., to be called upon a kill operation or interruption) here.
Then, if an interruption happens, the MozJSScriptEngine::interrupt method is called. In this method, we check the operation-to-scope dictionary (in here) to find the scope responsible for the given operation. If the scope mapped to this operation is not found, we create a level-2 debug message (in here).
Given that not all operations are registered under the JS Engine, we have two action items:
- Check it's OK that not all operations are registered under the JS Engine. The answer to this item is probably "Yes, it's OK", as not all operations need interaction with the JS engine.
- If it's OK not to register all operations under the JS engine, then we need to either completely drop these log messages (i.e., by removing these lines), or increase the debug level of these log messages to the max level. Otherwise, these messages will create an awful pollution of debug-level 2.
- is related to
-
SERVER-56737 Provide a separate path for delisting operations
- Backlog