[server] Always check CDB schema.

This commit is contained in:
Ciprian Dorin Craciun 2022-09-11 13:38:02 +03:00
parent c2189cc03f
commit c841cc9127

View file

@ -1386,6 +1386,20 @@ func main_0 () (error) {
}
}
}
// --------------------------------------------------------------------------------
// --------------------------------------------------------------------------------
if _schemaVersion, _error := _cdbReader.GetWithCdbHash ([]byte (NamespaceSchemaVersion)); _error == nil {
if _schemaVersion == nil {
@ -1396,13 +1410,6 @@ func main_0 () (error) {
} else {
AbortError (_error, "[87cae197] [cdb.....] failed opening archive!")
}
}
// --------------------------------------------------------------------------------
// --------------------------------------------------------------------------------