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
1518b797
Commit
1518b797
authored
Nov 05, 2021
by
Tigran Mkrtchyan
☕
Browse files
xroot: remote extra check on file being a directory N/A in this case.
parent
9b36f297
Pipeline
#12322
passed with stages
in 2 minutes and 54 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/dcache/nearline/cta/xrootd/DataServerHandler.java
View file @
1518b797
...
...
@@ -187,9 +187,6 @@ public class DataServerHandler extends XrootdRequestHandler {
try
{
NearlineRequest
r
=
getIORequest
(
msg
.
getPath
());
var
file
=
getFile
(
r
);
if
(
file
.
isDirectory
())
{
throw
new
XrootdException
(
kXR_isDirectory
,
"Not a file: "
+
file
);
}
RandomAccessFile
raf
;
if
(
msg
.
isReadWrite
()
||
msg
.
isNew
()
||
msg
.
isDelete
())
{
...
...
Write
Preview
Supports
Markdown
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