-
Notifications
You must be signed in to change notification settings - Fork 12
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 #955 from lsst/tickets/DM-41880
DM-41880: Support ChainedDatastore for Butler server
- Loading branch information
Showing
8 changed files
with
70 additions
and
15 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 @@ | ||
Butler server can now be configured to use a ChainedDatastore. |
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 @@ | ||
``FileDatastore.knows()`` no longer requires database I/O if its input ``DatasetRef`` has datastore records attached. |
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,26 @@ | ||
# This is a rough approximation of the configuration on the idfprod environment | ||
datastore: | ||
cls: lsst.daf.butler.datastores.chainedDatastore.ChainedDatastore | ||
datastore_constraints: | ||
# One entry per datastore in datastores section | ||
# Use empty `-` if no constraint override required | ||
- constraints: | ||
reject: | ||
- all | ||
- constraints: | ||
accept: | ||
- all | ||
datastores: | ||
- datastore: | ||
name: FileDatastore@s3://immutable-bucket/dc2 | ||
cls: lsst.daf.butler.datastores.fileDatastore.FileDatastore | ||
root: s3://immutable-bucket/dc2 | ||
- datastore: | ||
name: FileDatastore@s3://mutable-bucket | ||
cls: lsst.daf.butler.datastores.fileDatastore.FileDatastore | ||
root: s3://mutable-bucket/ | ||
records: | ||
table: user_datastore_records | ||
formatters: !include formatters.yaml | ||
composites: !include composites.yaml | ||
storageClasses: !include storageClasses.yaml |
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