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

Have "wt dump" fail more gracefully if the object doesn't exist

    • Type: Icon: Task Task
    • Resolution: Done
    • WT1.3
    • Affects Version/s: None
    • Component/s: None

      $ ../../wt dump my_bloom.wt 
      WiredTiger Dump (WiredTiger Version 1.2.3)
      Format=print
      Header
      wt: table:my_bloom.wt: cursor.search: WT_NOTFOUND: cursor item not found
      

      The error message should be the first output, and shouldn't reference "cursor.search" – it should say something like "cannot open <URI>".

      Michael.

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            michael.cahill@mongodb.com Michael Cahill (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: