-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Storage Execution NAMER
-
Fully Compatible
-
Execution Team 2023-10-30
In RecoveryUnit::_executeCommitHandlers, we call LOG2_DEBUG in two loops. This results in a small overhead to check if logging is enabled in each iteration of the loop. We should check if logging is enabled once before the loop.
POC: https://github.com/10gen/mongo/commit/6e3417d8c572bbaf17b2909594b36f227937b3ef