From 48873e3c703b4ecda79dd287dbd14a96ac69f122 Mon Sep 17 00:00:00 2001 From: lfbrehm <97600985+lfbrehm@users.noreply.github.com> Date: Tue, 23 Jan 2024 16:22:18 +0100 Subject: [PATCH] fix: Replication status messages in objects --- aruna/api/storage/models/v2/models.proto | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/aruna/api/storage/models/v2/models.proto b/aruna/api/storage/models/v2/models.proto index 5adff969..44efce24 100644 --- a/aruna/api/storage/models/v2/models.proto +++ b/aruna/api/storage/models/v2/models.proto @@ -258,24 +258,15 @@ message DataEndpoint { string id = 1; // Hint if the objects' project // is fully synced to the endpoint + // If partial_sync = true -> Objects inherit partial sync oneof variant { FullSync full_sync = 2; - PartialSync partial_sync = 3; + bool partial_sync = 3; } optional ReplicationStatus status = 4; } -message FullSync { - string project_id = 1; -} -message PartialSync { - oneof origin { - string project_id = 1; - string collection_id = 2; - string dataset_id = 3; - string object_id = 4; - } -} +message FullSync {} message Copy { string resource = 1;