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

wiredtiger_open() fails with WT_NOTFOUND

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.6.1
    • Affects Version/s: WT2.6.0
    • Component/s: None
    • None

      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.

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

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

              Created:
              Updated:
              Resolved: