Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
dcache-cta
Commits
8f19e29b
Commit
8f19e29b
authored
Dec 16, 2021
by
Tigran Mkrtchyan
☕
Browse files
gprc: define CANCEL_RETRIEVE request to aboirt staging
parent
8b54b3f5
Pipeline
#14912
passed with stages
in 3 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/proto/cta_dcache.proto
View file @
8f19e29b
...
...
@@ -52,7 +52,7 @@ message ArchiveRequest {
}
/*
*
ARCHI
VE request.
*
RETRIE
VE request.
*/
message
RetrieveRequest
{
cta.common.Service
instance
=
1
;
// client instance ID
...
...
@@ -62,6 +62,9 @@ message RetrieveRequest {
uint64
archiveId
=
5
;
// tape system unique file ID
}
/*
* DELETE request.
*/
message
DeleteRequest
{
cta.common.Service
instance
=
1
;
// client instance ID
cta.eos.Client
cli
=
2
;
// requester information
...
...
@@ -69,11 +72,22 @@ message DeleteRequest {
uint64
archiveId
=
4
;
// tape system unique file ID
}
/*
* CANCEL RETRIEVE request.
*/
message
CancelRetrieveRequest
{
cta.common.Service
instance
=
1
;
// client instance ID
cta.eos.Client
cli
=
2
;
// requester information
uint64
fid
=
3
;
// tape system unique file ID
string
reqId
=
4
;
// tape request scheduler ID, used to cancel the request
}
service
CtaRpc
{
rpc
Version
(
google.protobuf.Empty
)
returns
(
cta.admin.Version
)
{}
rpc
Archive
(
ArchiveRequest
)
returns
(
ArchiveResponse
)
{}
rpc
Retrieve
(
RetrieveRequest
)
returns
(
RetrieveResponse
)
{}
rpc
Delete
(
DeleteRequest
)
returns
(
google.protobuf.Empty
)
{}
rpc
CancelRetrieve
(
CancelRetrieveRequest
)
returns
(
google.protobuf.Empty
)
{}
}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment