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
9b02fd3e
Commit
9b02fd3e
authored
10 years ago
by
Giuseppe Lo Presti
Browse files
Options
Downloads
Patches
Plain Diff
Fixed handling of D2DSRC transfers starting
parent
124770fb
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
castor/scheduler/transfermanager/transfermanagerd
+5
-4
5 additions, 4 deletions
castor/scheduler/transfermanager/transfermanagerd
with
5 additions
and
4 deletions
castor/scheduler/transfermanager/transfermanagerd
+
5
−
4
View file @
9b02fd3e
...
...
@@ -434,10 +434,12 @@ class TransferManagerService(rpyc.Service):
dlf
.
writedebug
(
msgs
.
INVOKINGTRANSFERSTARTING
,
diskServer
=
transfer
.
diskServer
,
mountPoint
=
transfer
.
mountPoint
,
subreqId
=
transfer
.
transferId
,
reqId
=
transfer
.
reqId
,
transferType
=
TransferType
.
toStr
(
transfer
.
transferType
))
#
then
handle the queuing part
# handle the queuing part
srcTransfer
=
queueingTransfers
.
transferStarting
(
transfer
)
# finally (if no exception), call the DB: this is done in a separate thread pool
# in order to use multiple database connections
if
transfer
.
transferType
==
TransferType
.
D2DSRC
:
# that's it, nothing to do with the db
return
None
# finally (if no exception), call the DB
try
:
conn
=
self
.
__class__
.
getDbConnection
()
try
:
...
...
@@ -536,7 +538,6 @@ class TransferManagerService(rpyc.Service):
def
exposed_d2dEnded
(
self
,
transferTuples
):
'''
called when d2ds are over. Responsible for updating the stager DB and informing the source of the d2d.
Note that we don
'
t use the transfer class here.
'''
# first deal with the stager DB
try
:
conn
=
self
.
__class__
.
getDbConnection
()
try
:
...
...
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