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

Fix usage of global salvage in WT utility

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.4.2, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • 5
    • Storage - Ra 2020-08-24

      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
      

            Assignee:
            alex.cameron@mongodb.com Alex Cameron (Inactive)
            Reporter:
            haribabu.kommi@mongodb.com Haribabu Kommi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: