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

wt utility salvage option is not working with latest develop code to salvage a corrupted database

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Needs Scheduling
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      wt utility fails to salvage a database with either global or individual salvage options.

      ./artifacts-383e44-linux-64-repeated-execution_compile/dist-test/bin/wt -h data/db/job0/resmoke/shard0/node1 -S dump file:_mdb_catalog.wt > dump_catalog1.txt
      [1596156435:583701][99710:0x7f9e94a40880], wiredtiger_open: config_check, 170: Value 'salvage' not a permitted choice for key 'recover': Invalid argument
      [1596156435:583734][99710:0x7f9e94a40880], wiredtiger_open: config_check, 123: Invalid value for key 'log': expected a category: Invalid argument
      

      [root@ip-10-122-11-175 artifacts-383e44-linux-64-repeated-execution_concurrency_sharded_replication]# ../artifacts-383e44-linux-64-repeated-execution_compile/dist-test/bin/wt -h data/db/job0/resmoke/shard0/node1 -R salvage file:_mdb_catalog.wt > dump_catalog1.txt
      [1596156536:744923][115420:0x7f70feee0880], wt, file:collection-2--9072357644366475232.wt, txn rollback_to_stable: __wt_block_read_off, 283: collection-2--9072357644366475232.wt: read checksum error for 4096B block at offset 32768: block header checksum of 0xb68de82f doesn't match expected checksum of 0x4178f07c
      

        Attachments

          Activity

            People

            Assignee:
            backlog-server-storage-engines Backlog - Storage Engines Team
            Reporter:
            haribabu.kommi Haribabu Kommi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: