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)
committerKarolin Seeger <kseeger@samba.org>
Mon, 22 Feb 2021 12:58:04 +0000 (12:58 +0000)
commit55400f080001bcfbcf00c29932e2f01a629e0cdf
treee5d16a5b6582673add7961ade3a0d4326f3f525f
parent02b4ddcaed8c46382620939ee4bf26e1907cf169
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

(cherry picked from commit da627106cdbf8d375b25fa3338a717447f3dbb6e)

Autobuild-User(v4-13-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-13-test): Mon Feb 22 12:58:04 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