Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-7048

Review diagnostic assertions and add informational log messages

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

      We have many assertions in the WiredTiger code, but they only report any type of issue when HAVE_DIAGNOSTIC is enabled. It would often be useful to know whether an unexpected condition has been encountered in release builds as well (so we would get more information about failures in the field).

      We should review all places in the code where we use WT_ASSERT, and add an informational message where appropriate. We might want to introduce some new macros to make it easy to log messages in non-diagnostic builds (that depends on how many cases we find.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: