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
cfb0ea89
Commit
cfb0ea89
authored
10 years ago
by
Giuseppe Lo Presti
Browse files
Options
Downloads
Patches
Plain Diff
Backport: fixed CASTOR-4863: Closure of transfer protocol not working
parent
b0a37998
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
castor/db/oracleRH.sql
+2
-2
2 additions, 2 deletions
castor/db/oracleRH.sql
with
2 additions
and
2 deletions
castor/db/oracleRH.sql
+
2
−
2
View file @
cfb0ea89
...
...
@@ -139,7 +139,7 @@ BEGIN
-- do prechecks and get the service class
svcClassId
:
=
insertPreChecks
(
euid
,
egid
,
svcClassName
,
inReqType
);
-- get the list of valid protocols
protocols
:
=
getConfigOption
(
'Stager'
,
'Protocols'
,
'rfio
|
rfio3
|
gsiftp
|
xroot'
);
protocols
:
=
' '
||
getConfigOption
(
'Stager'
,
'Protocols'
,
'rfio
rfio3
gsiftp
xroot'
)
||
' '
;
-- get unique ids for the request and the client and get current time
SELECT
ids_seq
.
nextval
INTO
reqId
FROM
DUAL
;
SELECT
ids_seq
.
nextval
INTO
clientId
FROM
DUAL
;
...
...
@@ -184,7 +184,7 @@ BEGIN
-- Loop on subrequests
FOR
i
IN
srFileNames
.
FIRST
..
srFileNames
.
LAST
LOOP
-- check protocol validity
IF
INSTR
(
protocols
,
srProtocols
(
i
))
=
0
THEN
IF
INSTR
(
protocols
,
' '
||
srProtocols
(
i
)
||
' '
)
=
0
THEN
raise_application_error
(
-
20122
,
'Unsupported protocol in insertFileRequest : '
||
srProtocols
(
i
));
END
IF
;
-- get unique ids for the subrequest
...
...
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