0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 02:02:38 +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) ircd::db::database::events::OnStallConditionsChanged(const rocksdb::WriteStallInfo &info)
noexcept 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, d->name,
info.cf_name, info.cf_name,
reflect(info.condition.prev), reflect(info.condition.prev),