[jira] [Updated] (RATIS-2186) Raft log purge preservation might purge log index that does not exist

2024-11-11 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2186: -- Attachment: 1175_review.patch > Raft log purge preservation might purge log index that does not exist >

[jira] [Resolved] (RATIS-2177) Purge should delete segmentLog from small to large according to logIndex

2024-11-09 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze resolved RATIS-2177. --- Fix Version/s: 3.2.0 Resolution: Fixed The pull request is now merged. Thanks, [~tohsakarin__

[jira] [Assigned] (RATIS-2177) Purge should delete segmentLog from small to large according to logIndex

2024-11-09 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze reassigned RATIS-2177: - Component/s: server Assignee: yuuka Issue Type: Bug (was: Improvement) Summa

[jira] [Commented] (RATIS-2184) Improve TestRaftWithGrpc test stability

2024-11-07 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17896445#comment-17896445 ] Tsz-wo Sze commented on RATIS-2184: --- [~jianghuazhu] , thanks a lot for working on this!

[jira] [Commented] (RATIS-2185) Improve gRPC log messages debugability

2024-11-04 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17895408#comment-17895408 ] Tsz-wo Sze commented on RATIS-2185: --- bq. It is unfortunate that gRPC throws such an unc

[jira] [Updated] (RATIS-2185) Improve gRPC log messages debugability

2024-11-04 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2185: -- Component/s: gRPC Summary: Improve gRPC log messages debugability (was: Ratis logs debugabilit

[jira] [Comment Edited] (RATIS-2185) Ratis logs debugability

2024-11-02 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17895038#comment-17895038 ] Tsz-wo Sze edited comment on RATIS-2185 at 11/2/24 5:39 PM: {

[jira] [Commented] (RATIS-2185) Ratis logs debugability

2024-11-02 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2185?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17895038#comment-17895038 ] Tsz-wo Sze commented on RATIS-2185: --- bq. ... some vague message like "Unavailable" or "

[jira] [Commented] (RATIS-2184) Improve TestRaftWithGrpc test stability

2024-11-02 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17895031#comment-17895031 ] Tsz-wo Sze commented on RATIS-2184: --- To fix the remaining zero-copy bugs.  We may enabl

[jira] [Commented] (RATIS-2171) Safer initialization of TransactionContext#logIndexFuture

2024-11-01 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17894889#comment-17894889 ] Tsz-wo Sze commented on RATIS-2171: --- Indeed, we should complete the logIndexFuture insi

[jira] [Commented] (RATIS-2171) Safer initialization of TransactionContext#logIndexFuture

2024-11-01 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17894869#comment-17894869 ] Tsz-wo Sze commented on RATIS-2171: --- [~jianghuazhu], you are right that it is better to

[jira] [Resolved] (RATIS-2183) Detect staled snapshot request

2024-11-01 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze resolved RATIS-2183. --- Fix Version/s: 3.2.0 Resolution: Fixed The pull request is now merged. Thanks, [~tohsakarin__

[jira] [Updated] (RATIS-2184) Improve TestRaftWithGrpc test stability

2024-10-31 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2184: -- Parent: RATIS-1931 Issue Type: Sub-task (was: Bug) > Improve TestRaftWithGrpc test stability >

[jira] [Updated] (RATIS-2184) Improve TestRaftWithGrpc test stability

2024-10-31 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2184: -- Component/s: (was: test) Issue Type: Bug (was: Improvement) This is likely caused by either b

[jira] [Comment Edited] (RATIS-2184) Improve TestRaftWithGrpc test stability

2024-10-31 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17894664#comment-17894664 ] Tsz-wo Sze edited comment on RATIS-2184 at 10/31/24 5:19 PM: -

[jira] [Commented] (RATIS-2184) Improve TestRaftWithGrpc test stability

2024-10-31 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17894661#comment-17894661 ] Tsz-wo Sze commented on RATIS-2184: --- [~jianghuazhu], thanks for filing this JIRA! Plea

[jira] [Assigned] (RATIS-2183) Detect staled snapshot request

2024-10-31 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze reassigned RATIS-2183: - Component/s: snapshot Assignee: yuuka Description: If the recipient's network fluctua

[jira] [Resolved] (RATIS-2182) Fix some Objects.requireNonNull messages

2024-10-30 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze resolved RATIS-2182. --- Fix Version/s: 3.2.0 Resolution: Fixed The pull request is now merged. Thanks, [~jianghuazhu]

[jira] [Commented] (RATIS-2180) Unified judgment object is not null

2024-10-30 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17894316#comment-17894316 ] Tsz-wo Sze commented on RATIS-2180: --- [~jianghuazhu], thanks for filing this JIRA! Let'

[jira] [Resolved] (RATIS-2178) Add a log message whenever deleting a RaftLog segment

2024-10-27 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze resolved RATIS-2178. --- Fix Version/s: 3.2.0 Resolution: Fixed The pull request is now merged. > Add a log message wh

[jira] [Commented] (RATIS-2149) Do not perform leader election if the current RaftServer has not started yet

2024-10-25 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17892856#comment-17892856 ] Tsz-wo Sze commented on RATIS-2149: --- bq. ... S is still in the initializing state, and

[jira] [Resolved] (RATIS-2179) NullPointerException in RaftServerImpl.getLogInfo

2024-10-25 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze resolved RATIS-2179. --- Fix Version/s: 3.2.0 Resolution: Fixed The pull request is now merged. Thanks, [~nicholasjian

[jira] [Comment Edited] (RATIS-2141) OOM for stateMachineCache use cases

2024-10-23 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17892259#comment-17892259 ] Tsz-wo Sze edited comment on RATIS-2141 at 10/23/24 6:49 PM: -

[jira] [Updated] (RATIS-2141) OOM for stateMachineCache use cases

2024-10-23 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2141: -- Fix Version/s: 3.1.1 > OOM for stateMachineCache use cases > --- > >

[jira] [Comment Edited] (RATIS-2177) A gap was found when restarting

2024-10-23 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17892261#comment-17892261 ] Tsz-wo Sze edited comment on RATIS-2177 at 10/23/24 6:39 PM: -

[jira] [Commented] (RATIS-2177) A gap was found when restarting

2024-10-23 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17892261#comment-17892261 ] Tsz-wo Sze commented on RATIS-2177: --- {quote}... it was found that this part of the gap

[jira] [Created] (RATIS-2178) Add a log message whenever deleting a RaftLog segment

2024-10-23 Thread Tsz-wo Sze (Jira)
Tsz-wo Sze created RATIS-2178: - Summary: Add a log message whenever deleting a RaftLog segment Key: RATIS-2178 URL: https://issues.apache.org/jira/browse/RATIS-2178 Project: Ratis Issue Type: Imp

[jira] [Comment Edited] (RATIS-2141) OOM for stateMachineCache use cases

2024-10-23 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17892259#comment-17892259 ] Tsz-wo Sze edited comment on RATIS-2141 at 10/23/24 6:50 PM: -

[jira] [Resolved] (RATIS-2141) OOM for stateMachineCache use cases

2024-10-23 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze resolved RATIS-2141. --- Resolution: Resolved Since RATIS-1983 is reverted, this JIRA can be resolved. > OOM for stateMachine

[jira] [Updated] (RATIS-2176) Update doc for raft.server.log.appender.wait-time.min

2024-10-22 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2176: -- Component/s: documentation > Update doc for raft.server.log.appender.wait-time.min > -

[jira] [Updated] (RATIS-2174) Move future.join outside the lock

2024-10-21 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2174: -- Component/s: server Affects Version/s: (was: 3.1.0) > Move future.join outside the lock >

[jira] [Resolved] (RATIS-2174) Move future.join outside the lock

2024-10-21 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze resolved RATIS-2174. --- Fix Version/s: 3.2.0 Resolution: Fixed The pull request is now merged.  [~tohsakarin__] , than

[jira] [Updated] (RATIS-2174) Move future.join outside the lock

2024-10-16 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2174: -- Attachment: 1168_review.patch > Move future.join outside the lock > - >

[jira] [Updated] (RATIS-2174) Move future.join outside the lock

2024-10-16 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2174: -- Attachment: (was: 1168_review.patch) > Move future.join outside the lock >

[jira] [Updated] (RATIS-2174) Move future.join outside the lock

2024-10-16 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2174: -- Attachment: 1168_review.patch > Move future.join outside the lock > - >

[jira] [Resolved] (RATIS-2168) Support custom gRPC services

2024-10-16 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze resolved RATIS-2168. --- Fix Version/s: 3.2.0 Resolution: Fixed The pull request is now merged. > Support custom gRPC

[jira] [Resolved] (RATIS-2164) LeakDetector has a race condition

2024-10-16 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze resolved RATIS-2164. --- Fix Version/s: 3.2.0 Resolution: Fixed The pull request is now merged. > LeakDetector has a r

[jira] [Assigned] (RATIS-2168) Support custom gRPC services

2024-10-14 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze reassigned RATIS-2168: - Assignee: Tsz-wo Sze > Support custom gRPC services > > >

[jira] [Resolved] (RATIS-2172) RaftServer may lose FollowerState

2024-10-11 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze resolved RATIS-2172. --- Fix Version/s: 3.2.0 Resolution: Fixed The pull request is now merged.  Thanks, [~tohsakarin__

[jira] [Updated] (RATIS-2172) RaftServer may lose FollowerState

2024-10-11 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2172: -- Component/s: server > RaftServer may lose FollowerState > - > >

[jira] [Created] (RATIS-2173) Fix zero-copy bugs for non-gRPC cases

2024-10-11 Thread Tsz-wo Sze (Jira)
Tsz-wo Sze created RATIS-2173: - Summary: Fix zero-copy bugs for non-gRPC cases Key: RATIS-2173 URL: https://issues.apache.org/jira/browse/RATIS-2173 Project: Ratis Issue Type: Sub-task

[jira] [Resolved] (RATIS-2159) TestRaftWithSimulatedRpc could "fail to retain".

2024-10-11 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze resolved RATIS-2159. --- Resolution: Duplicate This was fixed as a part of RATIS-2151. Resolving this as a duplicate. > Test

[jira] [Assigned] (RATIS-2159) TestRaftWithSimulatedRpc could "fail to retain".

2024-10-11 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze reassigned RATIS-2159: - Component/s: server Assignee: Tsz-wo Sze > TestRaftWithSimulatedRpc could "fail to retain

[jira] [Resolved] (RATIS-2151) TestRaftWithGrpc keeps failing with zero-copy

2024-10-11 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze resolved RATIS-2151. --- Fix Version/s: 3.2.0 Resolution: Fixed The pull request is now merged. > TestRaftWithGrpc kee

[jira] [Resolved] (RATIS-2166) Update nextChunkIndex when snapshot is ALREADY_INSTALLED

2024-10-08 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze resolved RATIS-2166. --- Fix Version/s: 3.2.0 Resolution: Fixed The pull request is now merged. Thanks, [~tohsakarin__

[jira] [Updated] (RATIS-2166) Update nextChunkIndex when snapshot is ALREADY_INSTALLED

2024-10-08 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2166: -- Summary: Update nextChunkIndex when snapshot is ALREADY_INSTALLED (was: Regarding the follow-up patch

[jira] [Updated] (RATIS-2166) Regarding the follow-up patch issue of RATIS-2148

2024-10-08 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2166: -- Attachment: (was: image-2024-09-30-17-42-17-219.png) > Regarding the follow-up patch issue of RATIS

[jira] [Resolved] (RATIS-2165) Do not include RaftClientRequest Message in ReadIndexRequest

2024-10-08 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze resolved RATIS-2165. --- Fix Version/s: 3.2.0 Resolution: Fixed The pull request is now merged. Thanks, [~tohsakarin__

[jira] [Updated] (RATIS-2165) Do not include RaftClientRequest Message in ReadIndexRequest

2024-10-08 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2165: -- Summary: Do not include RaftClientRequest Message in ReadIndexRequest (was: Discussion on canceling tr

[jira] [Updated] (RATIS-2151) TestRaftWithGrpc keeps failing with zero-copy

2024-10-07 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2151: -- Component/s: gRPC server Description: TestRaftWithGrpc keeps failing with zero-cop

[jira] [Updated] (RATIS-2151) TestRaftWithGrpc may fail after RATIS-2129

2024-10-07 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2151: -- Parent: RATIS-1931 Issue Type: Sub-task (was: Task) > TestRaftWithGrpc may fail after RATIS-21

[jira] [Resolved] (RATIS-2169) mvnw test: Corrupted STDOUT by directly writing to native stream in forked JVM 1

2024-10-07 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze resolved RATIS-2169. --- Fix Version/s: 3.2.0 Resolution: Fixed The pull request is now merged. > mvnw test: Corrupted

[jira] [Created] (RATIS-2169) mvnw test: Corrupted STDOUT by directly writing to native stream in forked JVM 1

2024-10-06 Thread Tsz-wo Sze (Jira)
Tsz-wo Sze created RATIS-2169: - Summary: mvnw test: Corrupted STDOUT by directly writing to native stream in forked JVM 1 Key: RATIS-2169 URL: https://issues.apache.org/jira/browse/RATIS-2169 Project: Rat

[jira] [Commented] (RATIS-2168) Support custom gRPC services

2024-10-05 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17887148#comment-17887148 ] Tsz-wo Sze commented on RATIS-2168: --- The code should be very similar to the code for pa

[jira] [Updated] (RATIS-2167) Add default value in TermIndex

2024-10-04 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2167: -- Affects Version/s: (was: 3.1.0) > Add default value in TermIndex > -- >

[jira] [Resolved] (RATIS-2167) Add default value in TermIndex

2024-10-04 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze resolved RATIS-2167. --- Fix Version/s: 3.2.0 Resolution: Fixed The pull request is now merged. Thanks, [~jianghuazhu]

[jira] [Assigned] (RATIS-2167) Add default value in TermIndex

2024-10-04 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze reassigned RATIS-2167: - Component/s: API Assignee: JiangHua Zhu > Add default value in TermIndex > --

[jira] [Commented] (RATIS-2168) Support custom gRPC services

2024-10-03 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17886759#comment-17886759 ] Tsz-wo Sze commented on RATIS-2168: --- It seems possible to add such a feature by passing

[jira] [Created] (RATIS-2168) Support custom gRPC services

2024-10-03 Thread Tsz-wo Sze (Jira)
Tsz-wo Sze created RATIS-2168: - Summary: Support custom gRPC services Key: RATIS-2168 URL: https://issues.apache.org/jira/browse/RATIS-2168 Project: Ratis Issue Type: New Feature Compon

[jira] [Updated] (RATIS-2103) Support RatisShell to create a raft client with TLS config

2024-10-03 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2103: -- Component/s: shell Description: When GRPC TLS is enabled on ratis server, we need to build a RatisS

[jira] [Resolved] (RATIS-2103) Support RaftUtils to create a raft client with TLS config

2024-10-03 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2103?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze resolved RATIS-2103. --- Resolution: Duplicate After RATIS-2155, a TLS conf can be passed via RatisShell.Builder. Resolving

[jira] [Updated] (RATIS-2166) Regarding the follow-up patch issue of RATIS-2148

2024-09-30 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2166?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2166: -- Component/s: snapshot > Regarding the follow-up patch issue of RATIS-2148 > ---

[jira] [Resolved] (RATIS-2162) When closing leaderState, if the logAppender thread sends a snapshot, a deadlock may occur

2024-09-29 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze resolved RATIS-2162. --- Fix Version/s: 3.2.0 Resolution: Fixed The pull request is now merged. Thanks, [~tohsakarin__

[jira] [Updated] (RATIS-2160) MetricRegistriesLoader should not print INFO message in CLI

2024-09-29 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2160: -- Issue Type: Improvement (was: Bug) Priority: Minor (was: Major) > MetricRegistriesLoader should

[jira] [Resolved] (RATIS-2160) MetricRegistriesLoader should not print INFO message in CLI

2024-09-29 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze resolved RATIS-2160. --- Fix Version/s: 3.2.0 Resolution: Fixed The pull request is now merged. > MetricRegistriesLoad

[jira] [Commented] (RATIS-2164) LeakDetector has a race condition

2024-09-28 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17885596#comment-17885596 ] Tsz-wo Sze commented on RATIS-2164: --- Found some more problems: - The code add a leakTra

[jira] [Assigned] (RATIS-2164) LeakDetector has a race condition

2024-09-28 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze reassigned RATIS-2164: - Assignee: Tsz-wo Sze > LeakDetector has a race condition > - > >

[jira] [Updated] (RATIS-2165) Discussion on canceling transmission of RaftClientRequest. Message in RaftServerImpl.sendReadIndexAsync to further optimize transmission efficiency

2024-09-27 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2165: -- Component/s: Linearizable Read [~tohsakarin__], this is a good observation! We may be able to improve

[jira] [Updated] (RATIS-2164) LeakDetector has a race condition

2024-09-26 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2164: -- Parent: RATIS-1931 Issue Type: Sub-task (was: Improvement) > LeakDetector has a race condition

[jira] [Updated] (RATIS-2159) TestRaftWithSimulatedRpc could "fail to retain".

2024-09-26 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2159: -- Parent: RATIS-1931 Issue Type: Sub-task (was: Bug) > TestRaftWithSimulatedRpc could "fail to r

[jira] [Created] (RATIS-2164) LeakDetector has a race condition

2024-09-26 Thread Tsz-wo Sze (Jira)
Tsz-wo Sze created RATIS-2164: - Summary: LeakDetector has a race condition Key: RATIS-2164 URL: https://issues.apache.org/jira/browse/RATIS-2164 Project: Ratis Issue Type: Improvement C

[jira] [Commented] (RATIS-2051) Fix Sonar bugs for Ratis

2024-09-25 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2051?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17884841#comment-17884841 ] Tsz-wo Sze commented on RATIS-2051: --- FYI, just learned that S3077 is a well known false

[jira] [Updated] (RATIS-2162) When closing leaderState, if the logAppender thread sends a snapshot, a deadlock may occur

2024-09-25 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2162: -- Attachment: 1154_review.patch > When closing leaderState, if the logAppender thread sends a snapshot, a

[jira] [Updated] (RATIS-2162) When closing leaderState, if the logAppender thread sends a snapshot, a deadlock may occur

2024-09-25 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2162: -- Attachment: (was: 1154_review.patch) > When closing leaderState, if the logAppender thread sends a

[jira] [Updated] (RATIS-2162) When closing leaderState, if the logAppender thread sends a snapshot, a deadlock may occur

2024-09-25 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2162: -- Attachment: 1154_review.patch > When closing leaderState, if the logAppender thread sends a snapshot, a

[jira] [Commented] (RATIS-2162) When closing leaderState, if the logAppender thread sends a snapshot, a deadlock may occur

2024-09-25 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17884665#comment-17884665 ] Tsz-wo Sze commented on RATIS-2162: --- bq. ... stopAll may be accessed by multiple thread

[jira] [Assigned] (RATIS-2162) When closing leaderState, if the logAppender thread sends a snapshot, a deadlock may occur

2024-09-24 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze reassigned RATIS-2162: - Component/s: Leader Assignee: yuuka [~tohsakarin__] , That is great, thanks a lot! > Whe

[jira] [Commented] (RATIS-2159) TestRaftWithSimulatedRpc could "fail to retain".

2024-09-24 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17884387#comment-17884387 ] Tsz-wo Sze commented on RATIS-2159: --- In SegmentedRaftLog.retainLog(..), # it gets an en

[jira] [Commented] (RATIS-2159) TestRaftWithSimulatedRpc could "fail to retain".

2024-09-24 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2159?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17884378#comment-17884378 ] Tsz-wo Sze commented on RATIS-2159: --- The failure can be reproduced. - 1 failure out of

[jira] [Assigned] (RATIS-2160) MetricRegistriesLoader should not print INFO message in CLI

2024-09-24 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze reassigned RATIS-2160: - Assignee: Tsz-wo Sze > MetricRegistriesLoader should not print INFO message in CLI > ---

[jira] [Commented] (RATIS-2162) When closing leaderState, if the logAppender thread sends a snapshot, a deadlock may occur

2024-09-24 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17884363#comment-17884363 ] Tsz-wo Sze commented on RATIS-2162: --- [~tohsakarin__] , Thanks a lot for digging out the

[jira] [Updated] (RATIS-2161) Grpc may spawn many threads

2024-09-23 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2161?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2161: -- Component/s: gRPC [~tohsakarin__], thanks for filing this JIRA! bq. ... there is a sudden crash, ...

[jira] [Created] (RATIS-2160) MetricRegistriesLoader should not print INFO message in CLI

2024-09-19 Thread Tsz-wo Sze (Jira)
Tsz-wo Sze created RATIS-2160: - Summary: MetricRegistriesLoader should not print INFO message in CLI Key: RATIS-2160 URL: https://issues.apache.org/jira/browse/RATIS-2160 Project: Ratis Issue Ty

[jira] [Updated] (RATIS-2145) Follower hangs until the next trigger to take a snapshot

2024-09-19 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2145?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2145: -- Fix Version/s: (was: 3.2.0) > Follower hangs until the next trigger to take a snapshot > -

[jira] [Updated] (RATIS-2146) Fixed possible issues caused by concurrent deletion and election when member changes

2024-09-19 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2146?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2146: -- Fix Version/s: (was: 3.2.0) > Fixed possible issues caused by concurrent deletion and election when

[jira] [Updated] (RATIS-2153) ratis-version.properties missing from src bundle

2024-09-19 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2153: -- Fix Version/s: (was: 3.2.0) > ratis-version.properties missing from src bundle > --

[jira] [Updated] (RATIS-2149) Do not perform leader election if the current RaftServer has not started yet

2024-09-19 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2149: -- Fix Version/s: 3.1.1 (was: 3.2.0) > Do not perform leader election if the curren

[jira] [Updated] (RATIS-2148) Snapshot transfer may cause followers to trigger reloadStateMachine incorrectly

2024-09-19 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2148: -- Fix Version/s: 3.1.1 (was: 3.2.0) > Snapshot transfer may cause followers to tri

[jira] [Updated] (RATIS-2154) The old leader may send appendEntries after term changed

2024-09-19 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2154: -- Fix Version/s: 3.1.1 (was: 3.2.0) > The old leader may send appendEntries after

[jira] [Updated] (RATIS-2150) No need for manual assembly:single execution when mvn depoly

2024-09-19 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2150: -- Fix Version/s: 3.1.1 > No need for manual assembly:single execution when mvn depoly > -

[jira] [Updated] (RATIS-2152) GrpcLogAppender stucks while sending an installSnapshot notification request

2024-09-19 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2152: -- Fix Version/s: 3.1.1 (was: 3.2.0) > GrpcLogAppender stucks while sending an inst

[jira] [Resolved] (RATIS-2080) Reuse LeaderElection executor

2024-09-19 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze resolved RATIS-2080. --- Fix Version/s: (was: 3.1.0) Resolution: Won't Do Resolving this as "Won't Do". > Reuse Le

[jira] [Resolved] (RATIS-2147) MD5 mismatch when accept snapshot

2024-09-19 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze resolved RATIS-2147. --- Fix Version/s: 3.1.1 Resolution: Fixed The pull request was merged. Thanks, [~tohsakarin__]!

[jira] [Updated] (RATIS-2147) MD5 mismatch when accept snapshot

2024-09-19 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2147: -- Affects Version/s: (was: 3.1.0) (was: 3.2.0) > MD5 mismatch when accept

[jira] [Updated] (RATIS-2157) Enhance make_rc.sh for non-first rc at release time

2024-09-19 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2157: -- Component/s: build Fix Version/s: 3.1.1 (was: 3.2.0) > Enhance make_rc.sh

[jira] [Updated] (RATIS-2155) Add a builder for RatisShell

2024-09-19 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze updated RATIS-2155: -- Fix Version/s: 3.1.1 (was: 3.2.0) > Add a builder for RatisShell > -

[jira] [Resolved] (RATIS-2158) Let the snapshot sender and receiver use a new digester each time

2024-09-19 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze resolved RATIS-2158. --- Fix Version/s: 3.1.1 Resolution: Fixed The pull request is now merged. Thanks, [~tohsakarin__

[jira] [Assigned] (RATIS-2158) Let the snapshot sender and receiver use a new digester each time

2024-09-19 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze reassigned RATIS-2158: - Component/s: server Assignee: yuuka > Let the snapshot sender and receiver use a new dig

[jira] [Resolved] (RATIS-2155) Add a builder for RatisShell

2024-09-17 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz-wo Sze resolved RATIS-2155. --- Fix Version/s: 3.2.0 Resolution: Fixed The pull request is now merged. > Add a builder for Ra

[jira] [Commented] (RATIS-2156) Notify follower slowness based on the log index

2024-09-16 Thread Tsz-wo Sze (Jira)
[ https://issues.apache.org/jira/browse/RATIS-2156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17882101#comment-17882101 ] Tsz-wo Sze commented on RATIS-2156: --- Agree. The "StatusRuntimeException: CANCELLED: RS

  1   2   3   4   5   6   7   8   9   10   >