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

Detect if a file is too small to read a descriptor block

    • 5
    • Storage Engines 2020-03-23

      Failure:
      -------

      [js_test:repair_unfinished_indexes] 2020-03-06T10:49:00.796+0000 d20021| {"t":{"$date":"2020-03-06T10:49:00.796+0000"},"s":"E", "c":"STORAGE", "id":22435,"ctx":"initandlisten","msg":"WiredTiger error ({errorCode}) {message} Raw: {message2}","attr":{"errorCode":-31802,"message":"[1583491740:796218][4846:0x7f2b0635db40], file:collection-33-8877312290213068634.wt, txn rollback_to_stable: __posix_file_read, 421: /data/db/job0/mongorunner/repair_unfinished_indexes-1/collection-33-8877312290213068634.wt: handle-read: pread: failed to read 4096 bytes at offset 0: WT_ERROR: non-specific WiredTiger error","message2":"[1583491740:796218][4846:0x7f2b0635db40], file:collection-33-8877312290213068634.wt, txn rollback_to_stable: __posix_file_read, 421: /data/db/job0/mongorunner/repair_unfinished_indexes-1/collection-33-8877312290213068634.wt: handle-read: pread: failed to read 4096 bytes at offset 0: WT_ERROR: non-specific WiredTiger error"}}
      [js_test:repair_unfinished_indexes] 2020-03-06T10:49:00.815+0000 d20021| {"t":{"$date":"2020-03-06T10:49:00.815+0000"},"s":"E", "c":"STORAGE", "id":22435,"ctx":"initandlisten","msg":"WiredTiger error ({errorCode}) {message} Raw: {message2}","attr":{"errorCode":-31802,"message":"[1583491740:815704][4846:0x7f2b0635db40], txn-recover: __wt_txn_recover, 764: Recovery failed: WT_ERROR: non-specific WiredTiger error","message2":"[1583491740:815704][4846:0x7f2b0635db40], txn-recover: __wt_txn_recover, 764: Recovery failed: WT_ERROR: non-specific WiredTiger error"}}
      [js_test:repair_unfinished_indexes] 2020-03-06T10:49:00.822+0000 d20021| {"t":{"$date":"2020-03-06T10:49:00.822+0000"},"s":"E", "c":"STORAGE", "id":22435,"ctx":"initandlisten","msg":"WiredTiger error ({errorCode}) {message} Raw: {message2}","attr":{"errorCode":0,"message":"[1583491740:821984][4846:0x7f2b0635db40], connection: __wt_cache_destroy, 348: cache server: exiting with 14 pages in memory and 0 pages evicted","message2":"[1583491740:821984][4846:0x7f2b0635db40], connection: __wt_cache_destroy, 348: cache server: exiting with 14 pages in memory and 0 pages evicted"}}
      [js_test:repair_unfinished_indexes] 2020-03-06T10:49:00.822+0000 d20021| {"t":{"$date":"2020-03-06T10:49:00.822+0000"},"s":"E", "c":"STORAGE", "id":22435,"ctx":"initandlisten","msg":"WiredTiger error ({errorCode}) {message} Raw: {message2}","attr":{"errorCode":0,"message":"[1583491740:822063][4846:0x7f2b0635db40], connection: __wt_cache_destroy, 353: cache server: exiting with 40484 image bytes in memory","message2":"[1583491740:822063][4846:0x7f2b0635db40], connection: __wt_cache_destroy, 353: cache server: exiting with 40484 image bytes in memory"}}
      [js_test:repair_unfinished_indexes] 2020-03-06T10:49:00.822+0000 d20021| {"t":{"$date":"2020-03-06T10:49:00.822+0000"},"s":"E", "c":"STORAGE", "id":22435,"ctx":"initandlisten","msg":"WiredTiger error ({errorCode}) {message} Raw: {message2}","attr":{"errorCode":0,"message":"[1583491740:822083][4846:0x7f2b0635db40], connection: __wt_cache_destroy, 356: cache server: exiting with 63429 bytes in memory","message2":"[1583491740:822083][4846:0x7f2b0635db40], connection: __wt_cache_destroy, 356: cache server: exiting with 63429 bytes in memory"}}
      

      Link to test failure:
      ---------------------
      https://evergreen.mongodb.com/task/mongodb_mongo_v4.4_linux_64_debug_disk_wiredtiger_patch_abd7daa5fce90afa115c808f1404a6854754d456_5e622694e3c33105e8944137_20_03_06_10_32_43

            Assignee:
            alex.cameron@mongodb.com Alex Cameron (Inactive)
            Reporter:
            vamsi.krishna@mongodb.com Vamsi Boyapati
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: