mirror of https://github.com/m-labs/artiq.git
Revert "worker_db: Only warn on repeated archive read if dataset changed"
Breaks numpy arrays.
This reverts commit 141fcaaa8a
.
This commit is contained in:
parent
46fb5adac3
commit
ea7f925852
|
@ -227,9 +227,9 @@ class DatasetManager:
|
||||||
else:
|
else:
|
||||||
data = self.ddb.get(key)
|
data = self.ddb.get(key)
|
||||||
if archive:
|
if archive:
|
||||||
if self.archive.get(key, data) != data:
|
if key in self.archive:
|
||||||
logger.warning("Older value of dataset '%s' is already in "
|
logger.warning("Dataset '%s' is already in archive, "
|
||||||
"archive, overwriting", key, stack_info=True)
|
"overwriting", key, stack_info=True)
|
||||||
self.archive[key] = data
|
self.archive[key] = data
|
||||||
return data
|
return data
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue