dbcheck: Check Deleted Objects and reduce noise in reports about expired tombstones
authorAndrew Bartlett <abartlet@samba.org>
Thu, 10 Dec 2020 03:03:49 +0000 (16:03 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 3 Feb 2021 05:29:11 +0000 (05:29 +0000)
commitda627106cdbf8d375b25fa3338a717447f3dbb6e
tree01e64290f703c7a4681caa294361ad7a66cb3425
parent1ec1c35a3ae422720df491f5555c9bc787c9944c
dbcheck: Check Deleted Objects and reduce noise in reports about expired tombstones

These reports (about recently deleted objects)
create concern about a perfectly normal part of DB operation.

We must not operate on objects that are expired or we might reanimate them,
but we must fix "Deleted Objects" if it is wrong (mostly it is set as being
deleted in 9999, but in alpha19 we got this wrong).

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14593

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Feb  3 05:29:11 UTC 2021 on sn-devel-184
python/samba/dbchecker.py
selftest/knownfail.d/dbcheck-deleted-objects [deleted file]
source4/selftest/provisions/release-4-5-0-pre1/expected-dbcheck-link-output-lost-deleted-user3.txt
testprogs/blackbox/dbcheck-links.sh