Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
55709a25
Commit
55709a25
authored
Mar 28, 2019
by
Eric Cano
Browse files
Fixed wrong copy number displayed after repacking a tape.
parent
07551c90
Changes
1
Hide whitespace changes
Inline
Side-by-side
xroot_plugins/XrdCtaArchiveFileLs.hpp
View file @
55709a25
...
...
@@ -96,9 +96,6 @@ public:
for
(
auto
jt
=
archiveFile
.
tapeFiles
.
cbegin
();
jt
!=
archiveFile
.
tapeFiles
.
cend
();
jt
++
)
{
Data
record
;
// Copy number
record
.
mutable_afls_item
()
->
set_copy_nb
(
jt
->
first
);
// Archive file
auto
af
=
record
.
mutable_afls_item
()
->
mutable_af
();
af
->
set_archive_id
(
archiveFile
.
archiveFileID
);
...
...
@@ -118,6 +115,7 @@ public:
tf
->
set_vid
(
jt
->
second
.
vid
);
tf
->
set_f_seq
(
jt
->
second
.
fSeq
);
tf
->
set_block_id
(
jt
->
second
.
blockId
);
record
.
mutable_afls_item
()
->
set_copy_nb
(
jt
->
second
.
copyNb
);
// is_buffer_full is set to true when we have one full block of data in the buffer, i.e.
// enough data to send to the client. The actual buffer size is double the block size,
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment