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

fix overeager dassert in WriteConcernResult::appendTo

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Fixed
    • Affects Version/s: 3.3.8
    • Fix Version/s: 3.3.9
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Steps To Reproduce:
      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.
    • Linked BF Score:
      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

            Assignee:
            geert.bosch Geert Bosch
            Reporter:
            geert.bosch Geert Bosch
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: