0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-25 16:22:35 +01:00

ircd::db: Don't issue log warning for positive write-stall transition.

This commit is contained in:
Jason Volk 2020-03-01 14:08:21 -08:00
parent 8a9b06c67e
commit 84039ad1e7

View file

@ -2959,9 +2959,17 @@ void
ircd::db::database::events::OnStallConditionsChanged(const rocksdb::WriteStallInfo &info)
noexcept
{
log::warning
const auto level
{
log, "'%s' stall condition column[%s] %s -> %s",
info.condition.cur == rocksdb::WriteStallCondition::kNormal?
log::level::INFO:
log::level::WARNING
};
log::logf
{
log, level,
"'%s' stall condition column[%s] %s -> %s",
d->name,
info.cf_name,
reflect(info.condition.prev),