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

Review diagnostic assertions and add informational log messages

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-storage-engines Backlog - Storage Engines Team
              Reporter:
              alexander.gorrod Alexander Gorrod
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: