0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-26 15:33:54 +01:00

ircd::db: Relax assertions from concurrent flush.

ircd::db: Relax assertion when reflecting IO_TOTAL.
This commit is contained in:
Jason Volk 2020-09-14 18:59:55 -07:00
parent c325c0338e
commit 00657475d1

View file

@ -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;