s3:registry:db: update the value container seqnum after storing/deleting to prevent...
authorMichael Adam <obnox@samba.org>
Wed, 11 Apr 2012 13:38:29 +0000 (15:38 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 10 May 2012 09:15:29 +0000 (11:15 +0200)
commitf4d800d8d010e638d37d993d8eef00645398f811
tree305984fbc253e2bd5ba28ea0e8c3a0a60fa7f7fa
parent8980168a16463e1d4fabd5a96f8385882aa0fe7b
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)
source3/registry/reg_backend_db.c