On 01/06/2015 03:18 PM, Howard Chu wrote:
Hallvard Breien Furuseth wrote:
()
If the new pages below mt_next_pgno were freed instead of
written, me_size becomes too big.
Huh? mt_next_pgno definitively tells how many pages have ever been used in
the DB file.
No, see ITS#7886:
Allocate an
Sorry, forgot this one.
On 01/06/2015 03:18 PM, Howard Chu wrote:
Hallvard Breien Furuseth wrote:
Another issue: After an MDB_NOSYNC commit, mdb_env_sync()
only fdatasync()s. It does not know when the file grew.
I suppose we can change the FORCE flag to also cause fsync() to be used.
Hallvard Breien Furuseth wrote:
On 18/12/14 05:40, openldap-commit2de...@openldap.org wrote:
commit 0018eeb2c3b2239c30def9d47c9d194a4ebf35fe
Author: Howard Chu h...@openldap.org
Date: Thu Dec 18 04:38:53 2014 +
Hack for potential ext3/ext4 corruption issue
Use regular fsync()
On 18/12/14 05:40, openldap-commit2de...@openldap.org wrote:
commit 0018eeb2c3b2239c30def9d47c9d194a4ebf35fe
Author: Howard Chu h...@openldap.org
Date: Thu Dec 18 04:38:53 2014 +
Hack for potential ext3/ext4 corruption issue
Use regular fsync() if we think this commit grew the