Fix import tool fails to restore registry entries
This commit is contained in:
@@ -14,8 +14,7 @@ use std::{
|
||||
path::{Path, PathBuf},
|
||||
};
|
||||
use store::{
|
||||
BlobStore, SUBSPACE_BLOBS, SUBSPACE_COUNTER, SUBSPACE_INDEXES, SUBSPACE_QUOTA,
|
||||
SUBSPACE_REGISTRY_IDX, Store, U32_LEN,
|
||||
BlobStore, SUBSPACE_BLOBS, SUBSPACE_COUNTER, SUBSPACE_INDEXES, SUBSPACE_QUOTA, Store, U32_LEN,
|
||||
write::{AnyClass, BatchBuilder, ValueClass, key::DeserializeBigEndian},
|
||||
};
|
||||
use types::{collection::Collection, field::Field};
|
||||
@@ -85,7 +84,7 @@ async fn restore_file(store: Store, blob_store: BlobStore, path: &Path) {
|
||||
}
|
||||
}
|
||||
}
|
||||
SUBSPACE_INDEXES | SUBSPACE_REGISTRY_IDX => {
|
||||
SUBSPACE_INDEXES => {
|
||||
while let Some((key, _)) = reader.next() {
|
||||
let account_id = key
|
||||
.as_slice()
|
||||
|
||||
Reference in New Issue
Block a user