-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add dcache door generic workflow
- Loading branch information
Showing
1 changed file
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
# dCache request diagrams | ||
|
||
|
||
## Door workflow on successful read, close through door (NFS) | ||
|
||
```mermaid | ||
sequenceDiagram | ||
autonumber | ||
participant Client | ||
participant Door | ||
participant poolA | ||
participant PoolManager | ||
participant PnfsManager | ||
participant Billing | ||
Client ->> Door: GET | ||
Door->>PnfsManager: PnfsGetFileAttributes (path|pnfsid) | ||
PnfsManager -->> Door: storage info, attrs | ||
Door ->> PoolManager: PoolMgrSelectReadPoolMsg(pnfsid, storage info) | ||
PoolManager-->>Door: poolA | ||
Door->>poolA: Start Mover (pnfsid, protocol, storage info) | ||
poolA -->>Door: mover id | ||
poolA-->>Door: redirect | ||
Door -->> Client: redirect | ||
loop Application IO | ||
Client->>poolA: GET | ||
poolA-->>Client: 'bytes' | ||
end | ||
Client->>Door: CLOSE | ||
Door->>poolA: Kill Mover(id) | ||
poolA ->> Billing: MoverInfoMessage | ||
poolA-->>Door: DoorTransferFinishedMessage(status) | ||
Door->>Billing: DoorRequestInfoMessage | ||
Door-->>Client: OK | ||
``` | ||
|
||
## Door workflow on successful read, close through pool (dcap, xroot, http) | ||
|
||
```mermaid | ||
sequenceDiagram | ||
autonumber | ||
participant Client | ||
participant Door | ||
participant poolA | ||
participant PoolManager | ||
participant PnfsManager | ||
participant Billing | ||
Client ->> Door: GET | ||
Door->>PnfsManager: PnfsGetFileAttributes (path|pnfsid) | ||
PnfsManager -->> Door: storage info, attrs | ||
Door ->> PoolManager: PoolMgrSelectReadPoolMsg(pnfsid, storage info) | ||
PoolManager-->>Door: poolA | ||
Door->>poolA: Start Mover (pnfsid, protocol, storage info) | ||
poolA -->>Door: mover id | ||
poolA-->>Door: redirect | ||
Door -->> Client: redirect | ||
loop Application IO | ||
Client->>poolA: GET | ||
poolA-->>Client: 'bytes' | ||
end | ||
Client->>poolA: CLOSE | ||
poolA ->> Billing: MoverInfoMessage | ||
poolA-->>Door: DoorTransferFinishedMessage(status) | ||
Door->>Billing: DoorRequestInfoMessage | ||
opt dcap | ||
Door-->>Client: OK | ||
end | ||
``` |