forked from PelicanPlatform/pelican
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request PelicanPlatform#1166 from joereuss12/cache-bypass-…
…branch Implement client direct reads
- Loading branch information
Showing
12 changed files
with
437 additions
and
71 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
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
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
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
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,13 @@ | ||
# Origin export configuration to test direct read functionality, | ||
# testing how we handle origin direct reads enabled but namespace direct reads disabled | ||
|
||
Origin: | ||
# Things that configure the origin itself | ||
StorageType: "posix" | ||
EnableDirectReads: true | ||
# The actual namespaces we export | ||
Exports: | ||
- StoragePrefix: /<SHOULD BE OVERRIDDEN> | ||
FederationPrefix: /first/namespace | ||
# Don't set Reads -- it should be toggled true by setting PublicReads | ||
Capabilities: ["PublicReads", "Writes"] |
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,19 @@ | ||
# Origin export configuration to test direct read functionality, | ||
# testing how we handle origin direct reads disabled but namespace direct reads enabled | ||
|
||
Origin: | ||
# Things that configure the origin itself | ||
StorageType: "posix" | ||
EnableDirectReads: false | ||
# The actual namespaces we export | ||
Exports: | ||
- StoragePrefix: /<SHOULD BE OVERRIDDEN> | ||
FederationPrefix: /first/namespace | ||
# Don't set Reads -- it should be toggled true by setting PublicReads | ||
Capabilities: ["PublicReads", "Writes", "DirectReads"] | ||
# Origins assume the capabilities of the namespace when there is only 1 for that origin, | ||
# the second namespace is to override that behavior | ||
- StoragePrefix: /<SHOULD BE OVERRIDDEN> | ||
FederationPrefix: /second/namespace | ||
# Don't set Reads -- it should be toggled true by setting PublicReads | ||
Capabilities: ["PublicReads", "Writes", "DirectReads"] |
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
Oops, something went wrong.