Commit 561f36b7 authored by Jonathan Haas's avatar Jonathan Haas

In diesem Spezialfall der Fehlerbehandlung muss zuerst der Header eingelesen werden

parent 6d639f1b
......@@ -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