dbcheck: Allow removal of one-way links to missing objects
authorAndrew Bartlett <abartlet@samba.org>
Tue, 17 Oct 2017 10:01:51 +0000 (23:01 +1300)
committerJeremy Allison <jra@samba.org>
Wed, 18 Oct 2017 22:50:19 +0000 (00:50 +0200)
commit962a1b32201fce0a49c6be55943d4fbb57ed781e
tree26dce9589a497ca466ee4142d039c7efd9e4d1da
parent09104dc41758bfee6dea2aebc80de52ac32a3c88
dbcheck: Allow removal of one-way links to missing objects

If dbcheck is not run within the tombstone lifetime, these links can
persist in the database forever.  The risk of unintentional information loss
is why these links are only removed within the same partition.  A
replication may be in progress which has created only one end of
the link, so we must keep that.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Rowland Penny <rpenny@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Oct 19 00:50:19 CEST 2017 on sn-devel-144
python/samba/dbchecker.py