Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-60821

How to recover from read checksum error

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • ALL
    • Hide

      The server is installed on hyper-v VM, at the nigth the storage shut down e disconnect the disk, when I reconnect the disk and start the mongo service give me this error

      Show
      The server is installed on hyper-v VM, at the nigth the storage shut down e disconnect the disk, when I reconnect the disk and start the mongo service give me this error

    Description

      How I can recover my db from this error:

      2021-10-19T19:28:00.268+0200 I STORAGE [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
      2021-10-19T19:28:00.268+0200 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/prodnotes-filesystem
      2021-10-19T19:28:00.268+0200 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=7412M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),verbose=(recovery_progress),
      2021-10-19T19:28:04.875+0200 E STORAGE [initandlisten] WiredTiger error (0) [1634664484:875538][11247:0x7f03a47abe80], file:WiredTiger.wt, WT_CURSOR.next: read checksum error for 28672B block at offset 1908736: block header checksum of 1885693284 doesn't match expected checksum of 2855298891
      2021-10-19T19:28:04.875+0200 E STORAGE [initandlisten] WiredTiger error (0) [1634664484:875611][11247:0x7f03a47abe80], file:WiredTiger.wt, WT_CURSOR.next: WiredTiger.wt: encountered an illegal file format or internal value
      2021-10-19T19:28:04.875+0200 E STORAGE [initandlisten] WiredTiger error (-31804) [1634664484:875620][11247:0x7f03a47abe80], file:WiredTiger.wt, WT_CURSOR.next: the process must exit and restart: WT_PANIC: WiredTiger library panic
      2021-10-19T19:28:04.875+0200 I - [initandlisten] Fatal Assertion 28558 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 365
      2021-10-19T19:28:04.875+0200 I - [initandlisten]

      ***aborting after fassert() failure

      2021-10-19T19:28:04.900+0200 F - [initandlisten] Got signal: 6 (Aborted).

       

      Attachments

        1. _mdb_catalog.wt
          92 kB
        2. sizeStorer.wt
          236 kB
        3. storage.bson
          0.1 kB
        4. WiredTiger
          0.0 kB
        5. WiredTiger.turtle
          1.0 kB
        6. WiredTiger.wt
          2.03 MB
        7. WiredTigerLAS.wt
          4 kB

        Activity

          People

            edwin.zhou@mongodb.com Edwin Zhou
            dario.desimone@gmail.com Dario De Simon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: