Data offloaded and inlined at the same time
In MR !216 (merged) a new feature was added. It is supposed to either inline or offload a parameter value.
Now, with using the master branch, with this datastore configuration:
type: gridfs
inline-threshold: 1
compress: false
and this model a = 1; b = a
I see that the value of a was incorrectly written to the launch of the firework processing a = 1
:
"update_spec": {
"a": {
"value": {
"data": [
1,
[]
],
"_fw_name": "{{virtmat.language.utilities.serializable.FWQuantity}}"
},
"datastore": {
"path": ".fireworks/vre-language-datastore",
"type": "gridfs",
"format": "json",
"name": "vre_language_datastore",
"launchpad": null,
"compress": false,
"inline-threshold": 1
},
"filename": "a6527ba30a094caf856af1727ea1f3f6.json",
"_fw_name": "{{virtmat.language.utilities.serializable.FWDataObject}}"
}
}
There should be no key value
in a
, only datastore
and filename
. Then, the same dictionary for a
is copied to the spec of the firework processing b = a
. Of course, in this small example the bug is not visible. It is rendered when using parameters with high memory allocation.