mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
ircd::db: Relax assertions from concurrent flush.
ircd::db: Relax assertion when reflecting IO_TOTAL.
This commit is contained in:
parent
c325c0338e
commit
00657475d1
1 changed files with 3 additions and 3 deletions
|
@ -2936,7 +2936,7 @@ noexcept
|
||||||
info.file_path,
|
info.file_path,
|
||||||
};
|
};
|
||||||
|
|
||||||
assert(info.thread_id == ctx::id(*ctx::current));
|
//assert(info.thread_id == ctx::id(*ctx::current));
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -2958,7 +2958,7 @@ noexcept
|
||||||
info.cf_name,
|
info.cf_name,
|
||||||
};
|
};
|
||||||
|
|
||||||
assert(info.thread_id == ctx::id(*ctx::current));
|
//assert(info.thread_id == ctx::id(*ctx::current));
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -9199,7 +9199,7 @@ ircd::db::reflect(const rocksdb::Env::IOPriority &p)
|
||||||
{
|
{
|
||||||
case rocksdb::Env::IOPriority::IO_LOW: return "IO_LOW"_sv;
|
case rocksdb::Env::IOPriority::IO_LOW: return "IO_LOW"_sv;
|
||||||
case rocksdb::Env::IOPriority::IO_HIGH: return "IO_HIGH"_sv;
|
case rocksdb::Env::IOPriority::IO_HIGH: return "IO_HIGH"_sv;
|
||||||
case rocksdb::Env::IOPriority::IO_TOTAL: assert(0); break;
|
case rocksdb::Env::IOPriority::IO_TOTAL: break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return "IO_????"_sv;
|
return "IO_????"_sv;
|
||||||
|
|
Loading…
Reference in a new issue