Files
itc.pidi-3-docs/figures/diagrams/race-condition-a.mmd
T

16 lines
653 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
sequenceDiagram
participant A as Request A
participant S3 as S3-Speicher
participant B as Request B
Note over A,B: Ordner AltName/ mit 200 Objekten, Zielname: Kunde GmbH/
A->>S3: CanClaim(Kunde GmbH) → Missing → true
B->>S3: CanClaim(Kunde GmbH) → Missing → true
A->>S3: Kopiere 200 Objekte nach Kunde GmbH/
B->>S3: Kopiere Objekte #1–60 nach Kunde GmbH/
A->>S3: DeleteObjects(AltName/*) ✓
B->>S3: Kopie #61 → NoSuchKey ✗
B->>S3: catch: DeleteObjects(copiedKeys #1–60)
Note over S3: 60 Objekte aus Kunde GmbH/ gelöscht!
Note over S3: AltName/ existiert nicht mehr → Datenverlust