-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NSETM-2310] Allow to use the cache in readonly mode (#36)
New Features: - Add cache_config.readonly, to be able to use an existing cache without exclusive locking [NSETM-2310]. - Add cache_config.store_type, to change the file format (experimental). - Add cache_config.skip_features, to skip writing the features DataFrames (not implemented yet). Deprecations: - Deprecate output, use cache_config.path instead. - Deprecate clear_cache, use cache_config.clear instead.
- Loading branch information
1 parent
e6dfe33
commit 53bce0b
Showing
44 changed files
with
582 additions
and
193 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,5 +5,6 @@ Migration | |
:hidden: | ||
|
||
migration/automatic | ||
migration/0.9.0 | ||
migration/0.3.0 | ||
migration/0.2.0 |
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,32 @@ | ||
From 0.8.x to 0.9.x (v4) | ||
------------------------ | ||
|
||
BlueETL 0.9.x introduces some changes in the configuration (v4), but it's backward compatible with the configuration used in 0.8.x (v3). | ||
|
||
1. The ``version`` should be set to ``4``. | ||
|
||
2. The following fields have been deprecated and should be replaced, because they will be removed in a future version: | ||
|
||
- ``output``: use ``cache.path`` instead | ||
- ``clear_cache``: use ``cache.clear`` instead | ||
|
||
For example, if the old configuration contains:: | ||
|
||
version: 3 | ||
simulation_campaign: /path/to/config.json | ||
output: analysis_output | ||
clear_cache: true | ||
... | ||
|
||
then it should be replaced with:: | ||
|
||
version: 4 | ||
simulation_campaign: /path/to/config.json | ||
cache: | ||
path: analysis_output | ||
clear: true | ||
... | ||
|
||
You can see an example of configuration in the new format here: | ||
|
||
- https://github.com/BlueBrain/blueetl/blob/blueetl-v0.9.0/tests/functional/data/sonata/config/analysis_config_01.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
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.