mirror of https://github.com/m-labs/artiq.git
worker_db: removed warning for writing a dataset that is also in the archive
Signed-off-by: Leon Riesebos <leon.riesebos@duke.edu>
This commit is contained in:
parent
9d493028e5
commit
f42bea06a8
|
@ -34,6 +34,7 @@ Highlights:
|
||||||
* HDF5 options can now be passed when creating datasets with ``set_dataset``. This allows
|
* HDF5 options can now be passed when creating datasets with ``set_dataset``. This allows
|
||||||
in particular to use transparent compression filters as follows:
|
in particular to use transparent compression filters as follows:
|
||||||
``set_dataset(name, value, hdf5_options={"compression": "gzip"})``.
|
``set_dataset(name, value, hdf5_options={"compression": "gzip"})``.
|
||||||
|
* Removed worker DB warning for writing a dataset that is also in the archive
|
||||||
|
|
||||||
Breaking changes:
|
Breaking changes:
|
||||||
|
|
||||||
|
|
|
@ -120,11 +120,6 @@ class DatasetManager:
|
||||||
|
|
||||||
def set(self, key, value, broadcast=False, persist=False, archive=True,
|
def set(self, key, value, broadcast=False, persist=False, archive=True,
|
||||||
hdf5_options=None):
|
hdf5_options=None):
|
||||||
if key in self.archive:
|
|
||||||
logger.warning("Modifying dataset '%s' which is in archive, "
|
|
||||||
"archive will remain untouched",
|
|
||||||
key, stack_info=True)
|
|
||||||
|
|
||||||
if persist:
|
if persist:
|
||||||
broadcast = True
|
broadcast = True
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue