Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cta
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Harbor Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dCache
cta
Commits
085dde64
Commit
085dde64
authored
3 years ago
by
Tigran Mkrtchyan
Browse files
Options
Downloads
Patches
Plain Diff
cta-dcache: propagate pending archive request ID on delete
parent
178cc08d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cta-dcache/FrontendGRpcSvc.cpp
+4
-0
4 additions, 0 deletions
cta-dcache/FrontendGRpcSvc.cpp
cta-dcache/grpc-proto/protobuf/cta_dcache.proto
+1
-0
1 addition, 0 deletions
cta-dcache/grpc-proto/protobuf/cta_dcache.proto
with
5 additions
and
0 deletions
cta-dcache/FrontendGRpcSvc.cpp
+
4
−
0
View file @
085dde64
...
...
@@ -121,7 +121,11 @@ Status CtaRpcImpl::Delete(::grpc::ServerContext* context, const ::cta::dcache::r
deleteRequest
.
diskFileId
=
request
->
file
().
fid
();
deleteRequest
.
diskInstance
=
instance
;
// remove pending scheduler entry, if any
deleteRequest
.
archiveFileID
=
request
->
archiveid
();
if
(
!
request
->
reqid
().
empty
())
{
deleteRequest
.
address
=
request
->
reqid
();
}
// Delete the file from the catalogue or from the objectstore if archive request is created
cta
::
utils
::
Timer
t
;
...
...
This diff is collapsed.
Click to expand it.
cta-dcache/grpc-proto/protobuf/cta_dcache.proto
+
1
−
0
View file @
085dde64
...
...
@@ -70,6 +70,7 @@ message DeleteRequest {
cta.eos.Client
cli
=
2
;
// requester information
FileInfo
file
=
3
;
// files' metadata
uint64
archiveId
=
4
;
// tape system unique file ID
string
reqId
=
5
;
// pending ARCHIVE request scheduler ID
}
/*
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment