mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 16:04:15 +01:00
ircd::db: Verify SST checksums on db open.
This commit is contained in:
parent
94439a334e
commit
93ca1448d1
1 changed files with 7 additions and 0 deletions
|
@ -597,6 +597,13 @@ try
|
|||
dbs, dbs.emplace(string_view{this->name}, this).first
|
||||
}
|
||||
{
|
||||
throw_on_error
|
||||
{
|
||||
#ifdef RB_DEBUG
|
||||
d->VerifyChecksum() //TODO: worth doing this for real here?
|
||||
#endif
|
||||
};
|
||||
|
||||
log.info("'%s': Opened database @ `%s' with %zu columns at sequence number %lu.",
|
||||
this->name,
|
||||
path,
|
||||
|
|
Loading…
Reference in a new issue