refactor(replication): isolate storage api contracts (#4244)

This commit is contained in:
Zhengchao An
2026-07-03 22:48:21 +08:00
committed by GitHub
parent 24e88a2cf4
commit d19ee6c51c
8 changed files with 44 additions and 8 deletions
+2 -3
View File
@@ -14,8 +14,7 @@
use std::any::Any;
use rustfs_storage_api::DeletedObject;
use crate::storage_api::DeletedObject;
use crate::{MrfOpKind, MrfReplicateEntry, ReplicationType, ReplicationWorkerOperation};
#[derive(Debug, Clone, Default)]
@@ -85,8 +84,8 @@ mod tests {
DeletedObjectReplicationInfo, is_retryable_delete_replication_head_error, is_version_delete_replication,
should_retry_delete_marker_purge,
};
use crate::storage_api::DeletedObject;
use crate::{MrfOpKind, ReplicationType, ReplicationWorkerOperation};
use rustfs_storage_api::DeletedObject;
use uuid::Uuid;
#[test]