Fix import tool fails to restore registry entries

This commit is contained in:
Maurus Decimus
2026-05-04 17:25:40 +02:00
parent dc0f0c2879
commit 7e21ff6f4b
3 changed files with 21 additions and 3 deletions

View File

@@ -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()