From f42bea06a89ef80de4dcd4d996544a97287c969f Mon Sep 17 00:00:00 2001 From: Leon Riesebos Date: Thu, 6 Jan 2022 23:26:08 -0500 Subject: [PATCH] worker_db: removed warning for writing a dataset that is also in the archive Signed-off-by: Leon Riesebos --- RELEASE_NOTES.rst | 1 + artiq/master/worker_db.py | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/RELEASE_NOTES.rst b/RELEASE_NOTES.rst index 2e1390cf0..ceb7600d9 100644 --- a/RELEASE_NOTES.rst +++ b/RELEASE_NOTES.rst @@ -34,6 +34,7 @@ Highlights: * HDF5 options can now be passed when creating datasets with ``set_dataset``. This allows in particular to use transparent compression filters as follows: ``set_dataset(name, value, hdf5_options={"compression": "gzip"})``. +* Removed worker DB warning for writing a dataset that is also in the archive Breaking changes: diff --git a/artiq/master/worker_db.py b/artiq/master/worker_db.py index 8a2200e05..c739731a0 100644 --- a/artiq/master/worker_db.py +++ b/artiq/master/worker_db.py @@ -120,11 +120,6 @@ class DatasetManager: def set(self, key, value, broadcast=False, persist=False, archive=True, 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: broadcast = True