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

fix overeager dassert in WriteConcernResult::appendTo

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • 3.3.9
    • 3.3.8
    • Storage
    • None
    • Fully Compatible
    • ALL
    • Hide

      Run dropdb_race.js on a server compiled with --dbg=on and the inMemory storage engine.

      Show
      Run dropdb_race.js on a server compiled with --dbg=on and the inMemory storage engine.
    • 0

    Description

      There is a check in WriteConcernResult::appendTo that checks that either a positive number of files was fsync-ed, or a "waited" field is added. However, for ephemeral storage engines, it is OK to have 0 files synched.

      Attachments

        Activity

          People

            geert.bosch@mongodb.com Geert Bosch
            geert.bosch@mongodb.com Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: