SERVER-136110Open
LogCaptureGuard::_isSubset early-returns incorrectly for nested objects
Some of {{LogCaptureGuard}}'s BSON subset matching functions ignore any elements following a nested object field if the object matches. For example, when checking the following (in a code block for jira formatting reasons): It will erroneously return true because b: 1 matched the key a in both sides. The following test added in log_capture_test.cpp would illustrate the issue: