-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Replication
-
Repl 2024-08-19, Repl 2024-09-02, Repl 2024-09-16, Repl 2024-09-30
It seems getKeys() may throw an exception, as seen in validate command output (ex. SERVER-84114). We should wrap any getKeys() calls in a try/catch and log a healthlog entry with detailed information regarding the record / keystring that failed the call.
In addition, we should ensure that dbCheck continues with the rest of the batch if an exception is thrown. This may result in a hash mismatch for the node with the inconsistency, which is fine as this is similar behavior to how dbCheck handles corrupt BSON.
- is related to
-
SERVER-84114 Exceptions thrown while generating index keys fail collection validation
- Closed