-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Optimization
In SERVER-90282, we added diagnostic printing on tassert and invariants to print the original find command BSON.
We should consider logging catalog information such as the set of indexes and their settings, as well as the collection and its settings.
This is a controversial idea because the catalog is itself a complicated structure which is synchronized between disk and in-memory, copy-on-write behavior, etc. Accessing it during the handling of a tassert or invariant may by itself cause another tassert/invariant if the catalog is in a bad state. We need to better understand what the implications of such a change would be and things we could do to improve the safety (i.e. mark diagnostic printing functions noexcept).
- is related to
-
SERVER-93196 Extend tassert diagnostic logging to include plan cache information
- Open
- related to
-
SERVER-91686 Improve mongod's signal handler to print out current thread's command object
- Closed
-
SERVER-90282 Add more diagnostics to tassert failures
- Closed