Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-13401

MongoDB's fsync command's 'async' field is inactive (does nothing) in MongoDB v4.2 and onward

      Description

      Eric realized in the CR of SERVER-46067 that we do not do anything with the 'async' field in the WiredTiger implementation. In v4.2, the fsync command parses the 'async' field value here, passes the setting into StorageEngine::flushAllFiles, which the WT function implementation then does not use, as seen here.

      Master (v4.3) is the same code. SERVER-46067 will remove the inactive field in master, but the 'async' field has done nothing since v4.2. We suspect 'async' was only ever used for MMAP.

      Scope of changes

      Impact to Other Docs

      MVP (Work and Date)

      Resources (Scope or Design Docs, Invision, etc.)

            Assignee:
            kay.kim@mongodb.com Kay Kim (Inactive)
            Reporter:
            dianna.hohensee@mongodb.com Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              3 years, 51 weeks, 1 day ago