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

wiredtiger_open() fails with WT_NOTFOUND

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • WT2.6.0
    • WT2.6.1
    • None
    • 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. wt.tar.gz
          60 kB
        2. open_db.c
          0.9 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: