Skip to content

http/tpc: add support for ArchiveMetadata header#8022

Open
kofemann wants to merge 1 commit into11.2from
issue8011-11.2
Open

http/tpc: add support for ArchiveMetadata header#8022
kofemann wants to merge 1 commit into11.2from
issue8011-11.2

Conversation

@kofemann
Copy link
Member

Motivation:
When date is pushed into dCache that should be written to tape client might provide additional metadata that can be used by tape system to optimize on-tape data location. This information passes via ArchiveMetadata HTTP header.

Modification:
Update webdav door and RemoteTransferHandler to accept such feader and propagate the information to a nearline storage. The script provider will get it as -archive_metadata=xxx option, where driver can access it as:

var amd = request.getFileAttributes().getStorageInfo().getKey("archive_metadata");

Result:
Make WLCG tape people happy :)

Issue: #8011
Acked-by: Dmitry Litvintsev
Target: master, 11.2
Require-book: no
Require-notes: yes
(cherry picked from commit 1731eae)

Motivation:
When date is pushed into dCache that should be written to tape client might provide
additional metadata that can be used by tape system to optimize on-tape
data location. This information passes via ArchiveMetadata HTTP header.

Modification:
Update webdav door and RemoteTransferHandler to accept such feader and
propagate the information to a nearline storage. The script provider
will get it as `-archive_metadata=xxx` option, where driver can access
it as:

```
var amd = request.getFileAttributes().getStorageInfo().getKey("archive_metadata");
```

Result:
Make WLCG tape people happy :)

Issue: #8011
Acked-by: Dmitry Litvintsev
Target: master, 11.2
Require-book: no
Require-notes: yes
(cherry picked from commit 1731eae)
Signed-off-by: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant