Description
Due to recovery of SchemaManager seems we need to restore and register all schemes, i.e. like :
private SortedMap<Integer, byte[]> collectAllSchemas(UUID tblId) { Cursor<Entry> cur = metastorageMgr.prefix(schemaHistPrefix(tblId)); SortedMap<Integer, byte[]> schemes = new TreeMap<>(); for (Entry ent : cur) { String key = ent.key().toString(); int descVer = extractVerFromSchemaKey(key); schemes.put(descVer, ent.value()); } return schemes; }