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

wiredtiger_open() fails with WT_NOTFOUND

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: WT2.6.0
    • Fix Version/s: WT2.6.1
    • Labels:
      None

      Description

      Hi!

      We somehow managed to get DB that we're unable to open due to wiredtiger_open() returns WT_NOTFOUND with no additional information.

      I'm attaching the DB itself and small program that opens it.

      Output I get when using WiredTiger 2.6.0 ('master'):

      $ ./open_db 
      wiredtiger_open(WT_HOME, NULL, "log=(enabled)", &conn) at (open_db.c:27) failed: WT_NOTFOUND: item not found [-31803]
      $ ./open_db 
      196 records in table 'main'
      $ ./open_db 
      196 records in table 'main'
      $ ./open_db 
      196 records in table 'main'
      

      I.e. it fails the first time, but can open and read it on next attempts.

        Attachments

        1. open_db.c
          0.9 kB
        2. wt.tar.gz
          60 kB

          Issue Links

            Activity

              People

              • Assignee:
                sue.loverso Sue LoVerso
                Reporter:
                Dmitri Shubin Dmitri Shubin
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: