Still write to log synchronously, don't flush
svn: r16449
This commit is contained in:
		| @@ -418,7 +418,6 @@ class DbBsddb(DbBsddbRead, DbWriteBase, UpdateCallback): | |||||||
|                 pass |                 pass | ||||||
|             raise DbEnvironmentError(msg) |             raise DbEnvironmentError(msg) | ||||||
|         # Set not to flush to disk synchronous |         # Set not to flush to disk synchronous | ||||||
|         self.env.set_flags(db.DB_TXN_NOSYNC, 1) |  | ||||||
|         self.env.set_flags(db.DB_TXN_WRITE_NOSYNC, 1) |         self.env.set_flags(db.DB_TXN_WRITE_NOSYNC, 1) | ||||||
|  |  | ||||||
|         self.env.txn_checkpoint() |         self.env.txn_checkpoint() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user