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

Log an error if flushing with F_FULLSYNC fails

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.4, 3.7.4, WT3.1.0
    • None
    • None
    • Storage Non-NYC 2018-04-09

    Description

      From our limited testing, it would appear that Apple's new filesystem APFS does not conform to our expectations for fsync behavior. Running tests resulted in an error of the form:

      [MongoDFixture:job0] 2017-11-06T10:04:51.304-0500 E STORAGE  [conn331] WiredTiger error (0) [1509980691:304818][20778:0x700001ffc000], file:collection-2448-3901112796450791690.wt, WT_CURSOR.next: read checksum error for 4096B block at offset 6332416: block header checksum of 0 doesn't match expected checksum of 1222340184
      [MongoDFixture:job0] 2017-11-06T10:04:51.304-0500 E STORAGE  [conn331] WiredTiger error (0) [1509980691:304927][20778:0x700001ffc000], file:collection-2448-3901112796450791690.wt, WT_CURSOR.next: collection-2448-3901112796450791690.wt: encountered an illegal file format or internal value: (__wt_block_read_off, 227)
      [MongoDFixture:job0] 2017-11-06T10:04:51.304-0500 E STORAGE  [conn331] WiredTiger error (-31804) [1509980691:304943][20778:0x700001ffc000], file:collection-2448-3901112796450791690.wt, WT_CURSOR.next: the process must exit and restart: WT_PANIC: WiredTiger library panic
      [MongoDFixture:job0] 2017-11-06T10:04:51.304-0500 F -        [conn331] Fatal Assertion 28558 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 361
      [MongoDFixture:job0] 2017-11-06T10:04:51.304-0500 F -        [conn335] Fatal Assertion 28559 at src/mongo/db/storage/wiredtiger/wiredtiger_util.cpp 64
      [MongoDFixture:job0] 2017-11-06T10:04:51.305-0500 F -        [conn331]
      [MongoDFixture:job0] 
      [MongoDFixture:job0] ***aborting after fassert() failure
      

      This ticket is to track the diagnosis of this, and to come up with a better reproducer.

      Attachments

        Issue Links

          Activity

            People

              keith.bostic@mongodb.com Keith Bostic (Inactive)
              milkie@mongodb.com Eric Milkie
              Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: