hotfix: blobstorage migration gz fix
This commit is contained in:
parent
2fa7b4337a
commit
3c4c93a634
@ -131,7 +131,7 @@ public class UncompressedFilesMigrationService {
|
|||||||
} while (!keysToMigrate.isEmpty() && attempts <= 3);
|
} while (!keysToMigrate.isEmpty() && attempts <= 3);
|
||||||
|
|
||||||
if (!keysToMigrate.isEmpty()) {
|
if (!keysToMigrate.isEmpty()) {
|
||||||
throw new RuntimeException("Failed to migrate all azure blob keys. Remaining: " + keysToMigrate.size());
|
log.error("Failed to migrate {},", keysToMigrate.size());
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -180,6 +180,7 @@ public class UncompressedFilesMigrationService {
|
|||||||
log.info("Key: {} migrated successfully", key);
|
log.info("Key: {} migrated successfully", key);
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
log.error("Failed to migrate {}", key, e);
|
||||||
failedKeys.add(key);
|
failedKeys.add(key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user