forked from M-Labs/artiq
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:
|
||||
data = self.ddb.get(key)
|
||||
if archive:
|
||||
if self.archive.get(key, data) != data:
|
||||
logger.warning("Older value of dataset '%s' is already in "
|
||||
"archive, overwriting", key, stack_info=True)
|
||||
if key in self.archive:
|
||||
logger.warning("Dataset '%s' is already in archive, "
|
||||
"overwriting", key, stack_info=True)
|
||||
self.archive[key] = data
|
||||
return data
|
||||
|
||||
|
|
Loading…
Reference in New Issue