tdb_check fails with tdb read-only open.
rusty at rustcorp.com.au
Mon Sep 13 01:50:50 MDT 2010
On Thu, 29 Jul 2010 07:35:13 am tridge at samba.org wrote:
> looks good to me - nice and simple :-)
And unfortunately, doesn't work.
I just got around to porting this to CCAN, and added a unit test for it.
tdb_lockall_read() fails on r/o TDBs. So that needs to be fixed too. You
can still get a spurious tdb_check() fail, since we turn off *all* locking
on r/o TDBs. But you can get other corruption if someone's modifying it too,
so this is probably OK.
More information about the samba-technical