replmd: Add more debug for replicating links
commit5528a4cce4f7520bec3305f5ba2951378184687d
authorTim Beale <timbeale@catalyst.net.nz>
Tue, 23 Oct 2018 22:17:38 +0000 (24 11:17 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 1 Nov 2018 19:38:14 +0000 (1 20:38 +0100)
tree2a3e8907b448e76a789591580c5602971b3f80d4
parent9b28d47b0d86570be5a7c5628e460e01207afb00
replmd: Add more debug for replicating links

During a join of a large DB, processing the linked attributes can take a
long time. The join hangs in 'Committing SAM database' for many minutes
with no indication of whether it's making progress or not.

This patch adds some extra debug to show how far through processing the
linked attributes we are, when there are many thousands of links.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/repl_meta_data.c