HomePhabricator

Default to DB_TXN_WRITE_NOSYNC for all transactional operations
394b9298faecUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Default to DB_TXN_WRITE_NOSYNC for all transactional operations

  • This is safer than DB_TXN_NOSYNC, and does not appear to impact performance.
  • Applying this to the dbenv is necessary to avoid many fdatasync(2) calls on db 5.x
  • We carefully and thoroughly flush databases upon shutdown and other important events already.

Details

Provenance
Jeff Garzik <jgarzik@exmulti.com>Authored on May 19 2012, 05:25
Jeff Garzik <jgarzik@redhat.com>Committed on May 19 2012, 05:25
deadalnixPushed on May 14 2017, 22:04
Parents
rABCd6615a54c614: Merge pull request #1350 from jgarzik/del-deprecated
Branches
Unknown
Tags
Unknown

Event Timeline

Jeff Garzik <jgarzik@redhat.com> committed rABC394b9298faec: Default to DB_TXN_WRITE_NOSYNC for all transactional operations (authored by Jeff Garzik <jgarzik@exmulti.com>).May 19 2012, 05:25