fix overeager dassert in WriteConcernResult::appendTo

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Trivial - P5
    • 3.3.9
    • Affects Version/s: 3.3.8
    • Component/s: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Geert Bosch
              Reporter:
              Geert Bosch
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: