Skip to content

Commit

Permalink
feat: add rpc calls to remove recordings from catalog
Browse files Browse the repository at this point in the history
  • Loading branch information
grtlr committed Jan 2, 2025
1 parent ac6b5df commit e44d8d1
Show file tree
Hide file tree
Showing 2 changed files with 192 additions and 0 deletions.
15 changes: 15 additions & 0 deletions crates/store/re_protos/proto/rerun/v0/remote_store.proto
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,25 @@ service StorageNode {
// metadata API calls
rpc QueryCatalog(QueryCatalogRequest) returns (stream DataframePart) {}
rpc UpdateCatalog(UpdateCatalogRequest) returns (UpdateCatalogResponse) {}

rpc Remove(RemoveRecordingRequest) returns (RemoveRecordingResponse) {}
rpc RemoveAll(RemoveAllRecordingRequest) returns (RemoveAllRecordingResponse) {}

// TODO(zehiko) support registering more than one recording at a time
rpc RegisterRecording(RegisterRecordingRequest) returns (DataframePart) {}
}

// ---------------- Remove from catalog ------------------

message RemoveRecordingRequest {
// unique identifier of the recording
rerun.common.v0.RecordingId recording_id = 1;
}
message RemoveRecordingResponse {}

message RemoveAllRecordingRequest {}
message RemoveAllRecordingResponse {}

// ---------------- Common response message ------------------

// DataframePart is arrow IPC encoded RecordBatch
Expand Down
177 changes: 177 additions & 0 deletions crates/store/re_protos/src/v0/rerun.remote_store.v0.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e44d8d1

Please sign in to comment.