tdb: allow reads after prepare commit
commitf5aec9ebb4bf5d0e6f8c6974a485bc5cd2899fdd
authorAndrew Tridgell <tridge@samba.org>
Tue, 15 Sep 2009 21:04:22 +0000 (15 14:04 -0700)
committerAndrew Tridgell <tridge@samba.org>
Tue, 15 Sep 2009 21:52:01 +0000 (15 14:52 -0700)
tree6370a90833835b273c5eaf2accfeff0caeb9a565
parent48bc784e089fabf5f3f5a4e4d4ff47ce97ece74b
tdb: allow reads after prepare commit

We previously only allowed a commit to happen after a prepare
commit. It is in fact safe to allow reads between a prepare and a
commit, and the s4 replication code can make use of that, so allow it.
lib/tdb/common/transaction.c