Fix Upgradetool does not remember last executed step (#3621)

Signed-off-by: Jan N. Klug <github@klug.nrw>
This commit is contained in:
J-N-K 2023-05-20 09:38:28 +02:00 committed by GitHub
parent d87007a585
commit 3eca30f2c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -123,6 +123,7 @@ public class Upgrader {
metadataStorage.flush();
upgradeRecords.put(ITEM_COPY_UNIT_TO_METADATA, new UpgradeRecord(ZonedDateTime.now()));
upgradeRecords.flush();
}
public void linkUpgradeJsProfile() {
@ -162,6 +163,7 @@ public class Upgrader {
linkStorage.flush();
upgradeRecords.put(LINK_UPGRADE_JS_PROFILE, new UpgradeRecord(ZonedDateTime.now()));
upgradeRecords.flush();
}
private static class UpgradeRecord {