DIRACGrid / DIRACGrid/DIRAC

More configuration flexibility in InputDataPolicy

Open
#6,820 3 comments 0 reactions 1 assignee Claimed by @chaen View on GitHub
Dominant language
Python
Stars
126
Forks
191
Avg merge
1d 13h
Merged PRs (30d)
33

Description

Some additional flexibility will be good to add.

1. Choose InputDataResolution policy according to `jobType` specified in CS.
-> Lets say i want only `User` job to use `InputDataByProtocol` and other job to use `DownloadInputData`

2. If there is no locol protcol that we want to use for streaming fallback to download policy.
-> Curently for streaming p[rotocols we can specify Local and Remote protocols as:
```
# List of protocols to use for streaming
Protocols
{
# This list is used if the we are getting a file from a
# StorageElement local to the site we are running on
Local = file, xroot, root
# This list is used if the SE is not local
Remote = xroot, root
}
```
Lets say if the `Remote` part is empty and no local protocol available, then use the default policy.(i.e. `DownloadInputData`)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.