[jira] [Commented] (RATIS-2104) TestLeaderInstallSnapshot may fail with java.lang.IllegalStateException: allLeaks.size = 4

2024-06-06 Thread Duong (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17852907#comment-17852907 ] Duong commented on RATIS-2104: -- {quote}2. there may be buffer corruption and make the code e

[jira] [Commented] (RATIS-2104) TestLeaderInstallSnapshot may fail with java.lang.IllegalStateException: allLeaks.size = 4

2024-06-06 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17852902#comment-17852902 ] Tsz-wo Sze commented on RATIS-2104: --- We use try-finally for other cases (e.g. CodeBuffe

[jira] [Commented] (RATIS-2104) TestLeaderInstallSnapshot may fail with java.lang.IllegalStateException: allLeaks.size = 4

2024-06-06 Thread Duong (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17852877#comment-17852877 ] Duong commented on RATIS-2104: -- {quote}The Java try-finally is very unlikely to has a bug. I

[jira] [Commented] (RATIS-2104) TestLeaderInstallSnapshot may fail with java.lang.IllegalStateException: allLeaks.size = 4

2024-06-05 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17852623#comment-17852623 ] Tsz-wo Sze commented on RATIS-2104: --- [~duongnguyen], btw, please take a look the - Ill

[jira] [Commented] (RATIS-2104) TestLeaderInstallSnapshot may fail with java.lang.IllegalStateException: allLeaks.size = 4

2024-06-05 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17852622#comment-17852622 ] Tsz-wo Sze commented on RATIS-2104: --- bq. The guarantee that "finally" blocks always run

[jira] [Commented] (RATIS-2104) TestLeaderInstallSnapshot may fail with java.lang.IllegalStateException: allLeaks.size = 4

2024-06-05 Thread Duong (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17852605#comment-17852605 ] Duong commented on RATIS-2104: -- Another problem is [onComplete|https://github.com/apache/ra

[jira] [Commented] (RATIS-2104) TestLeaderInstallSnapshot may fail with java.lang.IllegalStateException: allLeaks.size = 4

2024-06-05 Thread Duong (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17852602#comment-17852602 ] Duong commented on RATIS-2104: -- Tried that, same result [~szetszwo]. The finally block is sk

[jira] [Commented] (RATIS-2104) TestLeaderInstallSnapshot may fail with java.lang.IllegalStateException: allLeaks.size = 4

2024-06-05 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17852574#comment-17852574 ] Tsz-wo Sze commented on RATIS-2104: --- Try store the value. Otherwise, if the buffer is

[jira] [Commented] (RATIS-2104) TestLeaderInstallSnapshot may fail with java.lang.IllegalStateException: allLeaks.size = 4

2024-06-05 Thread Duong (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17852521#comment-17852521 ] Duong commented on RATIS-2104: -- [~szetszwo]  Even if LogAppender is still running in MiniRa

[jira] [Commented] (RATIS-2104) TestLeaderInstallSnapshot may fail with java.lang.IllegalStateException: allLeaks.size = 4

2024-06-04 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17852258#comment-17852258 ] Tsz-wo Sze commented on RATIS-2104: --- It may be the case that the logAppender is still r

[jira] [Commented] (RATIS-2104) TestLeaderInstallSnapshot may fail with java.lang.IllegalStateException: allLeaks.size = 4

2024-06-04 Thread Duong (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2104?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17852235#comment-17852235 ] Duong commented on RATIS-2104: -- Acually, the problem persists after removing the doubled shu