[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#8191) mdb_txn_commit(empty txn) does not sync
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#8191) mdb_txn_commit(empty txn) does not sync
- From: hyc@symas.com
- Date: Sun, 25 Oct 2015 09:31:29 +0000
- Auto-submitted: auto-generated (OpenLDAP-ITS)
h.b.furuseth@usit.uio.no wrote:
> On 07/07/15 21:44, h.b.furuseth@usit.uio.no wrote:
>> My feeling is that this is a quirk the user should not need to
>> know about, and it's cleaner to sy r rather than to document it.
>
> ...cleaner to sync rather than...
The doc should say that committing an empty txn is a no-op. If you want to do
a sync without writing data, use mdb_env_sync() yourself.
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/