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:
parent
8a9b06c67e
commit
84039ad1e7
1 changed files with 10 additions and 2 deletions
12
ircd/db.cc
12
ircd/db.cc
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue