s3:registry: update the seqnum in the subkey cache at the end of regval_store_keys
authorMichael Adam <obnox@samba.org>
Wed, 11 Apr 2012 14:02:44 +0000 (16:02 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 10 May 2012 09:15:30 +0000 (11:15 +0200)
commit96f08f6d43cb9bebda175efd5719ca15549a5b99
treed980b284614327c7cae838487de5747285c21a2d
parentf4d800d8d010e638d37d993d8eef00645398f811
s3:registry: update the seqnum in the subkey cache at the end of regval_store_keys

The purpose is to prevent next reads from going to disk.

Note that this will currently only be effective with local tdbs, not
with ctdb: For tdb, store and delete bump the seqnum while transaction
commit does not. For ctdb, transaction commit bumps the seqnum, while
store and delete don't... This needs fixing (in ctdb).
(cherry picked from commit 16d83149c1b5620598edd37bbd1a73bebec82b6e)
source3/registry/reg_backend_db.c