Closed John-Holt-Tessella closed 5 years ago
Steps to Reproduce issue:
Why this happens:
The archive engine is only restarted on changed blocks (BlockServer.core.active_config_holder.ActiveConfigHolder
line 73):
if self.blocks_changed():
This is based on differences between the cached version of the config and the current config. The cached version of the config is only set on edit current config (BlockServer.core.active_config_holder.ActiveConfigHolder
line 305):
self._active_configserver.set_config_details(details)
called from (server_common.pv_names.BlockserverPVNames
line 261)
elif reason == BlockserverPVNames.SET_CURR_CONFIG_DETAILS:
self.write_queue.put((self._set_curr_config, (convert_from_json(data),), "SETTING_CONFIG"))
So if the config has changed it is cached and then on reload it is not different and the blocks archiver is not updated.
The second issue is that the logic for the blocks pv is different from the archiver rewrite pv. This should be changed.
Release:
For older installs:
Find the issue with the blocks and document.
Acceptance Criteria: