Skip to content

Commit

Permalink
Merge pull request #106 from ArunaStorage/feat/replication
Browse files Browse the repository at this point in the history
fix: Replication status messages in objects
  • Loading branch information
lfbrehm authored Jan 24, 2024
2 parents 4be1429 + 48873e3 commit 4d973a1
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions aruna/api/storage/models/v2/models.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4d973a1

Please sign in to comment.