Commit be082fb6 authored by Jonathan Haas's avatar Jonathan Haas

Merge branch 'bugfix/headerread' into 'develop'

In diesem Spezialfall der Fehlerbehandlung muss zuerst der Header eingelesen werden

See merge request ERZ/SWE_de.bsvrz.ars.ars!15
parents 6d639f1b 561f36b7
......@@ -1327,6 +1327,7 @@ public final class PersistenceManager {
try(DinLock ignored = din.lockContainers()) {
try(ContainerFileHandle containerFileHandle = accessContainer(din, containerRestoreParams.getArchiveDataKind(), containerID)) {
// das sollte nicht vorkommen
containerFileHandle.ensureHeaderRead();
containerFileHandle.setContainerHeaderParam(ContainerHdr.CHP_DATA_IDX_MIN, minDidx);
containerFileHandle.setContainerHeaderParam(ContainerHdr.CHP_DATA_IDX_MAX, maxDidx);
containerFileHandle.setContainerHeaderParam(ContainerHdr.CHP_DATA_TIME_MIN, minDtime);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment