Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-90404

Include additional diagnostic into tassert

    • Type: Icon: Improvement Improvement
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization

      As practice has shown, troubleshooting Query AFs could be troublesome due to very limited diagnostic information, which doesn't even include the failing query. To improve this situation we can dump the entire CurOp instance when a tassert is triggered. This can be achieved either by introducing a new API (e.g., tassertWithDebug) or by changing the call sites to implement it as

      if (bad thing) { dump(); tasserted(); }
      

            Assignee:
            alya.berciu@mongodb.com Alya Berciu
            Reporter:
            anton.korshunov@mongodb.com Anton Korshunov
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: