将fetch pp cache改成使用vcir结构,跑通apnic全量同步

This commit is contained in:
2026-03-13 14:45:41 +08:00
parent e3339533b8
commit cf764c35bb
53 changed files with 8931 additions and 2201 deletions

View File

@@ -1,6 +1,6 @@
use rocksdb::WriteBatch;
use rpki::storage::{FetchCachePpKey, RocksStore};
use rpki::storage::RocksStore;
#[test]
fn storage_delete_rrdp_state_works() {
@@ -57,15 +57,6 @@ fn storage_raw_iter_prefix_filters_by_prefix() {
}
}
#[test]
fn storage_fetch_cache_pp_key_format_is_stable() {
let k = FetchCachePpKey::from_manifest_rsync_uri("rsync://example.net/repo/manifest.mft");
assert_eq!(
k.as_str(),
"fetch_cache_pp:rsync://example.net/repo/manifest.mft"
);
}
#[test]
fn storage_write_batch_accepts_empty_batch() {
let temp = tempfile::tempdir().expect("tempdir");