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

Ensure accurate feedback for incorrect use of WT tool

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT11.3.0, 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Storage Engines
    • 5
    • 2024-01-09 - I Grew Tired, StorEng - 2024-01-23

      An example of what to improve is the ./wt dump command where if I type

      ./wt dump --help
      ./wt dump -?
      ./wt dump

      I get

      wiredtiger_open: [WT_VERB_DEFAULT][ERROR]: int __posix_open_file(WT_FILE_SYSTEM , WT_SESSION *, const char *, WT_FS_OPEN_FILE_TYPE, uint32_t, WT_FILE_HANDLE *), 818: ./WiredTiger.lock: handle-open: open: No such file or directory
      wt: WT_TRY_SALVAGE: database corruption detected

      rather than an error about incorrect usage of the command.

            Assignee:
            mariam.mojid@mongodb.com Mariam Mojid (Inactive)
            Reporter:
            siddhartha.mahajan@mongodb.com Sid Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: