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
58eb3b5d
Commit
58eb3b5d
authored
8 years ago
by
Steven Murray
Browse files
Options
Downloads
Patches
Plain Diff
Fixed a couple of bugs in XrdCtaFilesystem
parent
cbdede23
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
xroot_plugins/XrdCtaFilesystem.cpp
+5
-3
5 additions, 3 deletions
xroot_plugins/XrdCtaFilesystem.cpp
with
5 additions
and
3 deletions
xroot_plugins/XrdCtaFilesystem.cpp
+
5
−
3
View file @
58eb3b5d
...
...
@@ -105,7 +105,8 @@ int XrdCtaFilesystem::FSctl(const int cmd, XrdSfsFSctl &args, XrdOucErrInfo &eIn
}
auto
reply
=
processWrapperMsg
(
msg
,
client
);
eInfo
.
setErrInfo
(
reply
->
BuffSize
(),
reply
.
release
());
const
int
replySize
=
reply
->
BuffSize
();
eInfo
.
setErrInfo
(
replySize
,
reply
.
release
());
}
catch
(
cta
::
exception
::
Exception
&
ex
)
{
errMsg
<<
__FUNCTION__
<<
" failed: "
<<
ex
.
getMessage
().
str
();
}
catch
(
std
::
exception
&
se
)
{
...
...
@@ -126,7 +127,8 @@ int XrdCtaFilesystem::FSctl(const int cmd, XrdSfsFSctl &args, XrdOucErrInfo &eIn
auto
reply
=
make_UniqueXrdOucBuffer
(
replyString
.
size
());
memcpy
(
reply
->
Buffer
(),
replyString
.
c_str
(),
replyString
.
size
());
eInfo
.
setErrInfo
(
replyString
.
size
(),
reply
.
release
());
const
int
replySize
=
reply
->
BuffSize
();
eInfo
.
setErrInfo
(
replySize
,
reply
.
release
());
return
SFS_DATA
;
}
catch
(...)
{
eInfo
.
setErrInfo
(
ECANCELED
,
"Failed to create reply eos::wfe::Error message"
);
...
...
@@ -228,7 +230,7 @@ const XrdSecEntity *const client) {
request
.
archiveReportURL
=
archiveReportURL
.
str
();
log
::
LogContext
lc
(
*
m_log
);
const
uint64_t
archiveFileId
=
m_scheduler
->
queueArchive
(
msg
.
cli
().
user
().
user
name
(),
request
,
lc
);
const
uint64_t
archiveFileId
=
m_scheduler
->
queueArchive
(
msg
.
wf
().
instance
().
name
(),
request
,
lc
);
eos
::
wfe
::
Wrapper
wrapper
;
wrapper
.
set_type
(
eos
::
wfe
::
Wrapper
::
XATTR
);
...
...
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