s3:registry:db: update the value container seqnum after storing/deleting to prevent...
commitca56054a5a62b96904642580f83f1a871b607ffb
authorMichael Adam <obnox@samba.org>
Wed, 11 Apr 2012 13:38:29 +0000 (11 15:38 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 22 Jun 2012 19:41:29 +0000 (22 21:41 +0200)
tree9cd12f8e3c1e63bedcd6dddb9372c5984405da46
parent8e2a2dd00a7ffda52e7b4cebf6eeeeb822aaeb16
s3:registry:db: update the value container seqnum after storing/deleting to prevent next read from going to disk if possible

Note that this will currently only be effective in the local TDB implementation.
For CTDB, this wont work since seqnum currently works differently there (needs
fixing): For tdb, store and delete operations bump the db seqnum, while
transaction commits don't. For ctdb, the seqnum is bumped by the transaction
commit but not by store and delete operations.
(cherry picked from commit 13347d11c0e918f82e7e3c21125acc5e241d389f)
(cherry picked from commit f4d800d8d010e638d37d993d8eef00645398f811)
source3/registry/reg_backend_db.c