-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
Fully Compatible
-
QE 2024-11-11, QE 2024-11-25
In expression_keys_private.cpp there are two log warnings that are possible:
1.
LOGV2_WARNING_OPTIONS(6118400, {logv2::UserAssertAfterLog(ErrorCodes::CannotBuildIndexKeys)}, "Insert of geo object exceeded maximum number of generated keys", "obj"_attr = redact(obj));
2.
LOGV2_WARNING(23755, "Insert of geo object generated a large number of keys", "obj"_attr = redact(obj), "numKeys"_attr = keysToAdd.size());
These warnings are not very helpful to anyone, as log lines are typically only used to diagnose a problem; they aren't proactively scanned for potential issues.
Since neither of these log lines have obvious corrective actions, and since both of these log lines log the entire object being inserted, which by their nature will be extremely large, the amount of data being inserted into the log can be so voluminous that it affects performance and can exhaust free disk space.
Since the utility of these log lines is so low, we should just remove them.
- related to
-
SERVER-96968 Investigate if S2IndexingParams::maxKeysPerInsert can be removed
- Needs Scheduling