0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-02 16:58:19 +02:00

ircd::db: Add more info to log message.

This commit is contained in:
Jason Volk 2018-12-12 16:51:45 -08:00
parent a2892356d1
commit 7792f00461

View file

@ -9231,7 +9231,7 @@ ircd::db::compact(column &column,
log::debug
{
log, "'%s':'%s' COMPACT level:%d files:%zu size:%zu",
log, "'%s':'%s' COMPACT L%d -> L%d files:%zu size:%zu",
name(d),
name(c),
level.level,
@ -9291,13 +9291,15 @@ ircd::db::compact(column &column,
log::debug
{
log, "'%s':'%s' @%lu COMPACT [%s, %s] to level %d",
log, "'%s':'%s' @%lu COMPACT [%s, %s] -> L:%d (Lmax:%d Lbase:%d)",
name(d),
name(c),
sequence(d),
range.first,
range.second,
opts.target_level
opts.target_level,
d.d->NumberLevels(c),
d.d->MaxMemCompactionLevel(c),
};
throw_on_error