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

Change log corruption errors to warnings and truncate log

    • v4.0

      luke.chen reported this in WT-4215.
      Log corrupted in random_abort in a OS X 10.12 test environment.

      [2018/08/03 12:48:52.280] ./WiredTigerLog.0000000011: log record at position 1251072 has record len corruption 0x0
      [2018/08/03 12:48:52.280] [1533261148:26375][44573:0x7fffea41c3c0], txn-recover: __log_salvageable_error, 2153: log file ./WiredTigerLog.0000000011 corrupted at position 1251072, use salvage to fix: WT_ERROR: non-specific WiredTiger error
      [2018/08/03 12:48:52.280] [1533261148:26399][44573:0x7fffea41c3c0], txn-recover: __wt_panic, 525: the process must exit and restart: WT_PANIC: WiredTiger library panic
      [2018/08/03 12:48:52.280] [1533261148:26404][44573:0x7fffea41c3c0], txn-recover: __wt_abort, 30: aborting WiredTiger library
      [2018/08/03 12:48:52.280] ./random_abort/smoke.sh: line 7: 44573 Abort trap: 6           $TEST_WRAPPER ./test_random_abort -t 10 -T 5
      [2018/08/03 12:48:52.280] FAIL random_abort/smoke.sh (exit status: 134) 

            Assignee:
            donald.anderson@mongodb.com Donald Anderson
            Reporter:
            donald.anderson@mongodb.com Donald Anderson
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: