This is an automated email from the ASF dual-hosted git repository. btellier pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/james-project.git
commit 27fb35b751bf6afaaa73c1cda10b8081949fce3d Author: Benoit TELLIER <btell...@linagora.com> AuthorDate: Wed Feb 26 08:30:46 2025 +0100 [FIX] MimeMessage Store fails to recover from OutOfDiskSpace errors Given a very high concurrency exceeding available disk space, unmanaged clean up results in unusable disk as disk space was not reclaimed. By always forcing the cleanup we ensure we can recover from OutOfDiskSpace errors. --- .../blob/blob-common/src/main/java/org/apache/james/blob/api/Store.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/blob/blob-common/src/main/java/org/apache/james/blob/api/Store.java b/server/blob/blob-common/src/main/java/org/apache/james/blob/api/Store.java index cef9f6d415..b461751305 100644 --- a/server/blob/blob-common/src/main/java/org/apache/james/blob/api/Store.java +++ b/server/blob/blob-common/src/main/java/org/apache/james/blob/api/Store.java @@ -126,7 +126,7 @@ public interface Store<T, I> { out.reset(); out.close(); }, size)); - } catch (Exception e) { + } catch (Throwable e) { out.reset(); out.close(); throw e; --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org For additional commands, e-mail: notifications-h...@james.apache.org