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

Fix usage of global salvage in WT utility

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT3.2.2, 4.4.2, 4.7.0
    • Component/s: None
    • Labels:
      None
    • Story Points:
      5
    • Sprint:
      Storage - Ra 2020-08-24

      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:
            alex.cameron Alex Cameron
            Reporter:
            haribabu.kommi Haribabu Kommi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: