ldb_tdb: Print progress messages on re-index
authorAndrew Bartlett <abartlet@samba.org>
Mon, 11 Sep 2017 01:16:31 +0000 (13:16 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 22 Sep 2017 19:20:24 +0000 (21:20 +0200)
commit61b66b8d0a2a29496ad96774011e158e5f089bf0
tree0a6a4ab221e501debd2c69ab2a8d13ec41197b5c
parentc71ddab974eae65a8b1120de0a62d67bc62223c9
ldb_tdb: Print progress messages on re-index

A re-index of 10,000 entries is slow enough and rare enought that we can
justify the message being at LDB_DEBUG_WARNING as otherwise the administrator
will be sure the "lockup" was one.

The default for ldb is to print LDB_DEBUG_WARNING in comand-line tools
and the default for Samba is to log it at level 2.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
lib/ldb/ldb_tdb/ldb_index.c