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

format LSM verify occasionally fails

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Resolution: Done
    • None
    • WT2.2
    • None

    Description

      I occasionally see this failure:

      6: lsm, row-store                                                          
      t, file:wt-000001.lsm, session.verify: RUNDIR/wt-000001.lsm: No such file or directory
      t: session.verify: table:wt: post-salvage verify: No such file or directory
      

      and:

      t: salvage: dump comparison failed: Unknown error: 256
      

      which is from this code:

      /*
       * If no records are deleted, we can salvage the file and test
       * the result.  (The problem with deleting records is salvage
       * restores deleted records if a page splits leaving a deleted
       * record on one side of the split.)
       *
       * Salvage, verify the salvaged files, then dump (comparing
       * against the Berkeley DB data set again, if possible).
       */
      if (g.c_delete_pct == 0) {
              wts_open(g.home, 1, &g.wts_conn);
              wts_salvage();
              wts_verify("post-salvage verify");
              wts_close();
                      
              wts_dump("salvage", SINGLETHREADED);
      }
      

      Michael's change in 07691a5 turns off the salvage step, but then the subsequent verify and dump calls are failing.

      Attachments

        Issue Links

          Activity

            People

              alexander.gorrod@mongodb.com Alexander Gorrod
              keith.bostic@mongodb.com Keith Bostic (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: