-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define a SQLAlchemy DB class "Dataset" which defines persistent state for a Pbench dataset including most importantly the dataset's username (which is not otherwise recorded until we index) and the dataset's current state so that we can track the progress of a dataset through the Pbench server pipeline. We also support Metadata associated with each Dataset, describing additional information about datasets beyond the "state". For example, the backup component will mark a dataset as "ARCHIVED" and pbench-reindex marks the selected datasets to "REINDEX". A new dataset starts in UPLOADING state and will progress through the steps as we perform operations on it. We're defining both "in progress" -ing steps such as INDEXING as well as completion steps (which are ready for the next operation) such as INDEXED. There are also two "terminal" states, EXPIRED and QUARANTINED, from which a dataset cannot exit.
- Loading branch information
Showing
116 changed files
with
1,801 additions
and
34 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 |
---|---|---|
|
@@ -7,6 +7,7 @@ build | |
dist | ||
*~ | ||
????-*.patch | ||
.env | ||
.npmrc | ||
.yarnrc | ||
*.egg-info | ||
|
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 |
---|---|---|
|
@@ -97,6 +97,7 @@ RUN \ | |
rsync \ | ||
screen \ | ||
sos \ | ||
sqlite \ | ||
tar \ | ||
xz \ | ||
&& \ | ||
|
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
Empty file.
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
Oops, something went wrong.