This is an automated email from the ASF dual-hosted git repository.

lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-paimon.git


The following commit(s) were added to refs/heads/master by this push:
     new 8fa4081d5 [hotfix] Do not swallow InterruptedException in 
SnapshotManager
8fa4081d5 is described below

commit 8fa4081d52260972ef3ee1262830b294628f105d
Author: JingsongLi <[email protected]>
AuthorDate: Fri Apr 7 11:32:28 2023 +0800

    [hotfix] Do not swallow InterruptedException in SnapshotManager
---
 paimon-core/src/main/java/org/apache/paimon/utils/SnapshotManager.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/paimon-core/src/main/java/org/apache/paimon/utils/SnapshotManager.java 
b/paimon-core/src/main/java/org/apache/paimon/utils/SnapshotManager.java
index 8ef5c8d5f..afce751cd 100644
--- a/paimon-core/src/main/java/org/apache/paimon/utils/SnapshotManager.java
+++ b/paimon-core/src/main/java/org/apache/paimon/utils/SnapshotManager.java
@@ -238,7 +238,8 @@ public class SnapshotManager implements Serializable {
             }
             try {
                 TimeUnit.MILLISECONDS.sleep(READ_HINT_RETRY_INTERVAL);
-            } catch (InterruptedException ignored) {
+            } catch (InterruptedException e) {
+                throw new RuntimeException(e);
             }
         }
         return null;

Reply via email to