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

Add undocumented debug API

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.5.13, WT3.0.0
    • None
    • None
    • Storage 2017-09-11

    Description

      In discussions with daniel.gottlieb it would be helpful, particularly in the coming weeks, to have an API the user can call to show/dump various parts of the system.

      It could take a config arg for the subsystem to dump information:

      • open cursors (their state, uri, session, is it positioned or reset)
      • open sessions
      • open data handles, reference counts, uri/filename
      • global txn table
      • cache dump
      • all information

      Additionally, it would be nice to have the ability to set certain locations to give stack traces on certain errors. I.e. in early testing we may be doing serial operations and don't expect a WT_ROLLBACK or EBUSY return. Add code where those are (most likely) returned so that if the debug option is set we can print a stack trace at that time.

      Attachments

        Issue Links

          Activity

            People

              sue.loverso@mongodb.com Susan LoVerso
              sue.loverso@mongodb.com Susan LoVerso
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: