-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR that updates the way we check for cached executions. Previous proposal was to use glob patterns to check for a manifest under a certain directory, but this caused it to be too slow since there glob patterns behave differently in remote filesystems where they check for all nested directories. More details about the issue [here](#368 (comment)). This PR changes this by writing a reference to a manifest file in a folder separate from the subsets. ``` base_path/ ├── pipelines/ └── <pipeline_name>/ ├── <pipeline_id>/ │ ├── component_1/ │ │ ├── manifest.json │ │ └── subsets/ │ │ ├── <subset_1>/ │ │ │ └── part.0.parquet │ │ └── <subset_2>/ │ │ └── part.0.parquet │ └── component_2/ │ └── manifest.json ├── cache/ ├── <hash_key1> ├── <hash_key2> ├── <hash_key3> ``` In consequence, we also reverted back to using basic fsspec functionality which makes it easier to resolve files without having to explicitly to which protocol they belong to. Closing [this ticket](#402) in favor of this one. Tested with all different combinations (remote/local runner/basepath)
- Loading branch information
1 parent
910d3eb
commit 187148a
Showing
17 changed files
with
146 additions
and
150 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 was deleted.
Oops, something went wrong.
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
1 change: 1 addition & 0 deletions
1
tests/example_specs/mock_base_path/example_pipeline/cache/42.txt
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 @@ | ||
tests/example_specs/mock_base_path/example_pipeline/example_pipeline_2023/component_1/manifest.json |
8 changes: 4 additions & 4 deletions
8
...pipeline_2022/component_1/manifest_1.json → ...e_pipeline_2023/component_1/manifest.json
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
8 changes: 4 additions & 4 deletions
8
...pipeline_2023/component_2/manifest_2.json → ...e_pipeline_2023/component_2/manifest.json
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
8 changes: 4 additions & 4 deletions
8
...pipeline_2023/component_1/manifest_1.json → ...e_pipeline_2024/component_1/manifest.json
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.