[jira] [Updated] (RATIS-201) RaftBasicTests.testWithLoad may fail due to IllegalStateException

2018-02-06 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-201: -- Summary: RaftBasicTests.testWithLoad may fail due to IllegalStateException (was:

[jira] [Commented] (RATIS-201) RaftBasicTests.testWithLoad may fail due to IllegalStateException

2018-02-06 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16354557#comment-16354557 ] Tsz Wo Nicholas Sze commented on RATIS-201: --- Oops, the last QA build tested the wrong file (001

[jira] [Created] (RATIS-208) Allow client to specify replication level in a request

2018-02-06 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-208: - Summary: Allow client to specify replication level in a request Key: RATIS-208 URL: https://issues.apache.org/jira/browse/RATIS-208 Project: Ratis

[jira] [Commented] (RATIS-208) Allow client to specify replication level in a request

2018-02-06 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16354867#comment-16354867 ] Tsz Wo Nicholas Sze commented on RATIS-208: --- The current steps for handling client requests: #

[jira] [Commented] (RATIS-170) Add async support to the FileStore example

2018-02-05 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16353014#comment-16353014 ] Tsz Wo Nicholas Sze commented on RATIS-170: --- The last QA build was testing a wrong file

[jira] [Commented] (RATIS-203) RaftClient request may wait indefinitely for a reply

2018-02-05 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16352967#comment-16352967 ] Tsz Wo Nicholas Sze commented on RATIS-203: --- Patch looks good except that the new file

[jira] [Commented] (RATIS-203) RaftClient request may wait indefinitely for a reply

2018-02-05 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16352977#comment-16352977 ] Tsz Wo Nicholas Sze commented on RATIS-203: --- > BTW, not sure why the previous QA build cannot

[jira] [Commented] (RATIS-170) Add async support to the FileStore example

2018-02-05 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16352991#comment-16352991 ] Tsz Wo Nicholas Sze commented on RATIS-170: --- r170_20180205.patch: sync'ed with trunk. > Add

[jira] [Updated] (RATIS-170) Add async support to the FileStore example

2018-02-05 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-170: -- Attachment: r170_20180205.patch > Add async support to the FileStore example >

[jira] [Commented] (RATIS-205) Return commit information to client

2018-02-12 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16361706#comment-16361706 ] Tsz Wo Nicholas Sze commented on RATIS-205: --- Thanks a lot for the reviews! # Both update methods

[jira] [Updated] (RATIS-205) Return commit information to client

2018-02-12 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-205: -- Attachment: (was: r205_20180205.patch) > Return commit information to client >

[jira] [Commented] (RATIS-205) Return commit information to client

2018-02-14 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16363800#comment-16363800 ] Tsz Wo Nicholas Sze commented on RATIS-205: --- [~msingh], your suggestion on removing the

[jira] [Updated] (RATIS-205) Return commit information to client

2018-02-14 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-205: -- Attachment: r205_20180214.patch > Return commit information to client >

[jira] [Updated] (RATIS-205) Return commit information to client

2018-02-14 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-205: -- Attachment: (was: r205_20180213.patch) > Return commit information to client >

[jira] [Updated] (RATIS-201) RaftBasicTests.testWithLoad should use RaftTestUtil.waitForLeader instead of cluster.getLeader()

2018-02-05 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-201: -- Priority: Minor (was: Major) Summary: RaftBasicTests.testWithLoad should use

[jira] [Commented] (RATIS-201) RaftBasicTests.testWithLoad should use RaftTestUtil.waitForLeader instead of cluster.getLeader()

2018-02-05 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16352940#comment-16352940 ] Tsz Wo Nicholas Sze commented on RATIS-201: --- +1 the 003 patch looks good. >

[jira] [Updated] (RATIS-203) RaftClient request may wait indefinitely for a reply

2018-02-05 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-203: -- Attachment: RATIS-203.003_committed.patch > RaftClient request may wait indefinitely for

[jira] [Commented] (RATIS-207) Implement stale read

2018-02-14 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365189#comment-16365189 ] Tsz Wo Nicholas Sze commented on RATIS-207: --- r207_20180215.patch: updates with trunk and some

[jira] [Updated] (RATIS-207) Implement stale read

2018-02-14 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-207: -- Attachment: (was: r207_20180201.patch) > Implement stale read >

[jira] [Commented] (RATIS-207) Implement stale read

2018-02-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365256#comment-16365256 ] Tsz Wo Nicholas Sze commented on RATIS-207: --- r207_20180215b.patch: fixes test failures. >

[jira] [Updated] (RATIS-207) Implement stale read

2018-02-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-207: -- Attachment: (was: r207_20180215.patch) > Implement stale read >

[jira] [Updated] (RATIS-207) Implement stale read

2018-02-14 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-207: -- Attachment: r207_20180215.patch > Implement stale read > > >

[jira] [Updated] (RATIS-207) Implement stale read

2018-02-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-207: -- Attachment: (was: r207_20180215b.patch) > Implement stale read >

[jira] [Updated] (RATIS-207) Implement stale read

2018-02-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-207: -- Attachment: r207_20180215c.patch > Implement stale read > > >

[jira] [Commented] (RATIS-207) Implement stale read

2018-02-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16365321#comment-16365321 ] Tsz Wo Nicholas Sze commented on RATIS-207: --- r207_20180215c.patch: fixes more test failures. All

[jira] [Updated] (RATIS-207) Implement stale read

2018-02-17 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-207: -- Attachment: r207_20180218.patch > Implement stale read > > >

[jira] [Updated] (RATIS-207) Implement stale read

2018-02-17 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-207: -- Attachment: (was: r207_20180215c.patch) > Implement stale read >

[jira] [Updated] (RATIS-210) Refactor client request proto

2018-02-23 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-210: -- Attachment: r210_20180224.patch > Refactor client request proto >

[jira] [Created] (RATIS-210) Refactor client request proto

2018-02-23 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-210: - Summary: Refactor client request proto Key: RATIS-210 URL: https://issues.apache.org/jira/browse/RATIS-210 Project: Ratis Issue Type: Improvement

[jira] [Commented] (RATIS-207) Implement stale read

2018-02-18 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16368480#comment-16368480 ] Tsz Wo Nicholas Sze commented on RATIS-207: --- Thanks Mukul. I cannot reproduce the failure but

[jira] [Updated] (RATIS-207) Implement stale read

2018-02-18 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-207: -- Attachment: (was: r207_20180218.patch) > Implement stale read >

[jira] [Updated] (RATIS-207) Implement stale read

2018-02-18 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-207: -- Attachment: r207_20180218b.patch > Implement stale read > > >

[jira] [Updated] (RATIS-178) New servers may not be able to join an existing raft group

2017-12-28 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-178: -- Summary: New servers may not be able to join an existing raft group (was: The third

[jira] [Reopened] (RATIS-168) Update Grpc and netty versions in Ratis.

2017-12-28 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze reopened RATIS-168: --- There are some compilation error. - {code} mvn test -Dtest=TestRaftAsyncWithGrpc {code}

[jira] [Commented] (RATIS-168) Update Grpc and netty versions in Ratis.

2017-12-28 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16305338#comment-16305338 ] Tsz Wo Nicholas Sze commented on RATIS-168: --- [~msingh], please take a look. Let's revert the

[jira] [Commented] (RATIS-168) Update Grpc and netty versions in Ratis.

2017-12-28 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16305337#comment-16305337 ] Tsz Wo Nicholas Sze commented on RATIS-168: --- It seems that some source files are not moved

[jira] [Updated] (RATIS-178) New servers may not be able to join an existing raft group

2018-01-02 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-178: -- Attachment: r178_20180103.patch r178_20180103.patch: sync'ed with trunk. > New servers

[jira] [Commented] (RATIS-179) Improve the log message in leader election and refactor the tests

2018-01-02 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16309140#comment-16309140 ] Tsz Wo Nicholas Sze commented on RATIS-179: --- Chen, thanks a lot for reviewing and committing the

[jira] [Commented] (RATIS-123) Add CLI for FileStore example

2018-01-02 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16309143#comment-16309143 ] Tsz Wo Nicholas Sze commented on RATIS-123: --- Nanda, thanks a lot for working on this! Assigning

[jira] [Commented] (RATIS-182) Leader should wait for the log entries to be appended and synced

2018-01-02 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16309172#comment-16309172 ] Tsz Wo Nicholas Sze commented on RATIS-182: --- This may not be a bug. The state machine

[jira] [Updated] (RATIS-179) Improve the log message in leader election and refactor the tests

2017-12-22 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-179?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-179: -- Attachment: r179_20171222.patch r179_20171222.patch: 1st patch > Improve the log

[jira] [Updated] (RATIS-180) TestRaftExceptionWithNetty#testNotLeaderExceptionWithReconf may fail

2017-12-22 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-180?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-180: -- Summary: TestRaftExceptionWithNetty#testNotLeaderExceptionWithReconf may fail (was:

[jira] [Commented] (RATIS-175) RaftServerProxy should close server rpc in case instance creation fails

2017-12-22 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16301657#comment-16301657 ] Tsz Wo Nicholas Sze commented on RATIS-175: --- Tried to run

[jira] [Commented] (RATIS-178) The third server cannot join the raft group

2017-12-22 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16301603#comment-16301603 ] Tsz Wo Nicholas Sze commented on RATIS-178: --- > The last server s2 may not able to join the group.

[jira] [Commented] (RATIS-175) RaftServerProxy should close server rpc in case instance creation fails

2017-12-22 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16301622#comment-16301622 ] Tsz Wo Nicholas Sze commented on RATIS-175: --- +1 patch looks good. However, there was a

[jira] [Created] (RATIS-179) Improve the log message in leader election and refactor the tests

2017-12-22 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-179: - Summary: Improve the log message in leader election and refactor the tests Key: RATIS-179 URL: https://issues.apache.org/jira/browse/RATIS-179 Project:

[jira] [Updated] (RATIS-178) The third server cannot join the raft group

2017-12-22 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-178: -- Attachment: org.apache.ratis.grpc.TestLeaderElectionWithGrpc-output.txt Here is the

[jira] [Created] (RATIS-180) TestRaftExceptionWithNetty#testNotLeaderExceptionWithReconf may fails

2017-12-22 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-180: - Summary: TestRaftExceptionWithNetty#testNotLeaderExceptionWithReconf may fails Key: RATIS-180 URL: https://issues.apache.org/jira/browse/RATIS-180 Project:

[jira] [Commented] (RATIS-180) TestRaftExceptionWithNetty#testNotLeaderExceptionWithReconf may fail

2017-12-22 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16301672#comment-16301672 ] Tsz Wo Nicholas Sze commented on RATIS-180: --- The timeout failure may relate to RATIS-178.

[jira] [Commented] (RATIS-180) TestRaftExceptionWithNetty#testNotLeaderExceptionWithReconf may fail

2017-12-27 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16305094#comment-16305094 ] Tsz Wo Nicholas Sze commented on RATIS-180: --- > It failed with timeout if running it alone, ...

[jira] [Commented] (RATIS-140) Raft client should reuse the gRPC stream for all async calls

2017-12-27 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16305097#comment-16305097 ] Tsz Wo Nicholas Sze commented on RATIS-140: --- Thanks Jing for reviewing the patch. > Looks like

[jira] [Commented] (RATIS-48) Test "RaftOutputStream" based on gRPC

2017-12-27 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16305114#comment-16305114 ] Tsz Wo Nicholas Sze commented on RATIS-48: -- [~kaiyangzhang], the OOM probably was due to RATIS-116,

[jira] [Created] (RATIS-181) TestRetryCacheWithHadoopRpc may fails

2017-12-27 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-181: - Summary: TestRetryCacheWithHadoopRpc may fails Key: RATIS-181 URL: https://issues.apache.org/jira/browse/RATIS-181 Project: Ratis Issue Type: Bug

[jira] [Updated] (RATIS-181) TestRetryCacheWithHadoopRpc may fails

2017-12-27 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-181: -- Description: In [build

[jira] [Commented] (RATIS-168) Update Grpc and netty versions in Ratis.

2017-12-27 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16305117#comment-16305117 ] Tsz Wo Nicholas Sze commented on RATIS-168: --- +1 the 004 patch looks good. Thanks Mukul. >

[jira] [Commented] (RATIS-140) Raft client should reuse the gRPC stream for all async calls

2017-12-27 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16305120#comment-16305120 ] Tsz Wo Nicholas Sze commented on RATIS-140: --- Filed RATIS-181 for TestRetryCacheWithHadoopRpc. >

[jira] [Commented] (RATIS-177) Raft Leader should not return LeaderNotReady Exception for old completed requests

2018-01-03 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16309781#comment-16309781 ] Tsz Wo Nicholas Sze commented on RATIS-177: --- - It seems that leaderState == null is fine. - If

[jira] [Comment Edited] (RATIS-177) Raft Leader should not return LeaderNotReady Exception for old completed requests

2018-01-03 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16310784#comment-16310784 ] Tsz Wo Nicholas Sze edited comment on RATIS-177 at 1/4/18 5:53 AM: --- I

[jira] [Commented] (RATIS-289) Optimize readStateMachine by allowing to enqueue multiple read requests in parallel

2018-08-02 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16567435#comment-16567435 ] Tsz Wo Nicholas Sze commented on RATIS-289: ---  Thanks [~msingh] - In

[jira] [Commented] (RATIS-285) Ratis State Machine should have an api to inform about loss of a follower/slow follower

2018-08-02 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16567354#comment-16567354 ] Tsz Wo Nicholas Sze commented on RATIS-285: --- Thanks [~msingh], some comments on the patch. - It

[jira] [Commented] (RATIS-289) Optimize readStateMachine by allowing to enqueue multiple read requests in parallel

2018-08-03 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16568570#comment-16568570 ] Tsz Wo Nicholas Sze commented on RATIS-289: --- Thanks for the update. - In

[jira] [Comment Edited] (RATIS-289) Optimize readStateMachine by allowing to enqueue multiple read requests in parallel

2018-08-03 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16568570#comment-16568570 ] Tsz Wo Nicholas Sze edited comment on RATIS-289 at 8/3/18 6:21 PM: ---

[jira] [Commented] (RATIS-281) Ratis should provide an api to readStateMachinedata when the cached segment is not available

2018-07-30 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16562431#comment-16562431 ] Tsz Wo Nicholas Sze commented on RATIS-281: --- +1 the 003 patch looks good. > Ratis should

[jira] [Commented] (RATIS-11) Better retry policy support for Raft client

2018-07-30 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16562294#comment-16562294 ] Tsz Wo Nicholas Sze commented on RATIS-11: -- {code} + RaftClientImpl(ClientId clientId, RaftGroup

[jira] [Commented] (RATIS-286) Add information about raft peers and rpc delay in ServerInformationReply

2018-07-30 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16562473#comment-16562473 ] Tsz Wo Nicholas Sze commented on RATIS-286: --- - Question: is it a good idea to add also inLogSync

[jira] [Commented] (RATIS-11) Better retry policy support for Raft client

2018-07-30 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16562307#comment-16562307 ] Tsz Wo Nicholas Sze commented on RATIS-11: -- > ... I am confused by firstTrialTime here,

[jira] [Commented] (RATIS-271) Ratis-backed distributed log: "LogService"

2018-07-26 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16558513#comment-16558513 ] Tsz Wo Nicholas Sze commented on RATIS-271: --- [~elserj], thanks for starting the LogService work!

[jira] [Updated] (RATIS-270) Replication_ALL requests should not be replied from retry cache if they are present in delayedReplies queue.

2018-07-26 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-270: -- Labels: ozone (was: ) Component/s: server > Replication_ALL requests should

[jira] [Commented] (RATIS-270) Replication_ALL requests should not be replied from retry cache if they are present in delayedReplies queue.

2018-07-26 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16558957#comment-16558957 ] Tsz Wo Nicholas Sze commented on RATIS-270: --- Let's fix the retry for the same leader in this

[jira] [Commented] (RATIS-286) Add information about raft peers and rpc delay in ServerInformationReply

2018-07-31 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16564372#comment-16564372 ] Tsz Wo Nicholas Sze commented on RATIS-286: --- +1 the 002 patch looks good. > Add information

[jira] [Updated] (RATIS-270) Replication_ALL requests should not be replied from retry cache if they are present in delayedReplies queue.

2018-08-03 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-270: -- Attachment: r270_20180803.patch > Replication_ALL requests should not be replied from

[jira] [Commented] (RATIS-288) Pom cleanup/simplification

2018-08-03 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16568811#comment-16568811 ] Tsz Wo Nicholas Sze commented on RATIS-288: --- We need the following commands: # Command to clean

[jira] [Updated] (RATIS-270) Replication ALL requests should not be replied from retry cache if they are delayed.

2018-08-03 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-270: -- Summary: Replication ALL requests should not be replied from retry cache if they are

[jira] [Commented] (RATIS-288) Pom cleanup/simplification

2018-08-03 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16568776#comment-16568776 ] Tsz Wo Nicholas Sze commented on RATIS-288: --- [~elserj], thanks for working on the pom files. It

[jira] [Commented] (RATIS-289) Optimize readStateMachine by allowing to enqueue multiple read requests in parallel

2018-08-03 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-289?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16568621#comment-16568621 ] Tsz Wo Nicholas Sze commented on RATIS-289: --- > In order to make sure multiple readStateMachine

[jira] [Commented] (RATIS-11) Better retry policy support for Raft client

2018-07-27 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-11?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16560390#comment-16560390 ] Tsz Wo Nicholas Sze commented on RATIS-11: -- [~jingc], thanks for working on this. - Let's move

[jira] [Commented] (RATIS-281) Ratis should provide an api to readStateMachinedata when the cached segment is not available

2018-07-27 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16560367#comment-16560367 ] Tsz Wo Nicholas Sze commented on RATIS-281: --- Thanks [~msingh] for working on this. - In

[jira] [Commented] (RATIS-269) Enhance server information reply to add raft node role, raft storage directory status information

2018-07-25 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16556122#comment-16556122 ] Tsz Wo Nicholas Sze commented on RATIS-269: --- +1 the 002 patch looks good > Enhance server

[jira] [Commented] (RATIS-270) Replication ALL requests should not be replied from retry cache if they are delayed.

2018-08-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16576699#comment-16576699 ] Tsz Wo Nicholas Sze commented on RATIS-270: --- > 1) RaftServerImpl:1069, lets rename updateCache

[jira] [Commented] (RATIS-290) Raft server should notify the state machine if no leader is assigned for a long time

2018-08-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16576645#comment-16576645 ] Tsz Wo Nicholas Sze commented on RATIS-290: --- - We should not add RaftServerImpl.group since the

[jira] [Commented] (RATIS-260) Ratis Leader election should try for other peers even when ask for votes fails

2018-08-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16576845#comment-16576845 ] Tsz Wo Nicholas Sze commented on RATIS-260: --- {quote} In this test, one of the nodes was shut

[jira] [Commented] (RATIS-270) Replication ALL requests should not be replied from retry cache if they are delayed.

2018-08-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16576703#comment-16576703 ] Tsz Wo Nicholas Sze commented on RATIS-270: --- r270_20180810.patch: addresses [~msingh]'s

[jira] [Updated] (RATIS-270) Replication ALL requests should not be replied from retry cache if they are delayed.

2018-08-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-270: -- Attachment: (was: r270_20180803.patch) > Replication ALL requests should not be

[jira] [Updated] (RATIS-270) Replication ALL requests should not be replied from retry cache if they are delayed.

2018-08-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-270: -- Attachment: r270_20180810.patch > Replication ALL requests should not be replied from

[jira] [Commented] (RATIS-298) Update auto-common and log4j versions in ratis

2018-08-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-298?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16576730#comment-16576730 ] Tsz Wo Nicholas Sze commented on RATIS-298: --- +1 patch looks good. Have you tested it with

[jira] [Updated] (RATIS-298) Update auto-common and log4j versions in ratis

2018-08-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-298: -- Component/s: (was: server) build > Update auto-common and log4j

[jira] [Commented] (RATIS-270) Replication ALL requests should not be replied from retry cache if they are delayed.

2018-08-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16576739#comment-16576739 ] Tsz Wo Nicholas Sze commented on RATIS-270: --- TestRetryCacheWithSimulatedRpc failed since it does

[jira] [Comment Edited] (RATIS-270) Replication ALL requests should not be replied from retry cache if they are delayed.

2018-08-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16576699#comment-16576699 ] Tsz Wo Nicholas Sze edited comment on RATIS-270 at 8/10/18 6:33 PM: >

[jira] [Commented] (RATIS-260) Ratis Leader election should try for other peers even when ask for votes fails

2018-08-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16576727#comment-16576727 ] Tsz Wo Nicholas Sze commented on RATIS-260: --- +1 patch looks good. [~shashikant], have tested it

[jira] [Updated] (RATIS-270) Replication ALL requests should not be replied from retry cache if they are delayed.

2018-08-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-270: -- Attachment: (was: r270_20180810.patch) > Replication ALL requests should not be

[jira] [Comment Edited] (RATIS-260) Ratis Leader election should try for other peers even when ask for votes fails

2018-08-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16576727#comment-16576727 ] Tsz Wo Nicholas Sze edited comment on RATIS-260 at 8/10/18 7:10 PM: +1

[jira] [Commented] (RATIS-270) Replication ALL requests should not be replied from retry cache if they are delayed.

2018-08-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16576745#comment-16576745 ] Tsz Wo Nicholas Sze commented on RATIS-270: --- r270_20180810b.patch: moves the new test to

[jira] [Updated] (RATIS-270) Replication ALL requests should not be replied from retry cache if they are delayed.

2018-08-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-270: -- Attachment: r270_20180810b.patch > Replication ALL requests should not be replied from

[jira] [Commented] (RATIS-260) Ratis Leader election should try for other peers even when ask for votes fails

2018-08-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16576842#comment-16576842 ] Tsz Wo Nicholas Sze commented on RATIS-260: --- {quote} No, it is a bug in

[jira] [Commented] (RATIS-285) Ratis State Machine should have an api to inform about loss of a follower/slow follower

2018-08-03 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16568762#comment-16568762 ] Tsz Wo Nicholas Sze commented on RATIS-285: --- The 005 patch looks good. Just some minor

[jira] [Comment Edited] (RATIS-288) Pom cleanup/simplification

2018-08-07 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16572046#comment-16572046 ] Tsz Wo Nicholas Sze edited comment on RATIS-288 at 8/7/18 6:02 PM: --- Just

[jira] [Commented] (RATIS-288) Pom cleanup/simplification

2018-08-07 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16572046#comment-16572046 ] Tsz Wo Nicholas Sze commented on RATIS-288: --- Just have tried the 006 patch. - rat seems too

[jira] [Commented] (RATIS-288) Pom cleanup/simplification

2018-08-07 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16572372#comment-16572372 ] Tsz Wo Nicholas Sze commented on RATIS-288: --- +1 the 007 patch looks good.  Everything is work

[jira] [Created] (RATIS-294) Fix ratis-hadoop CVEs

2018-08-07 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-294: - Summary: Fix ratis-hadoop CVEs Key: RATIS-294 URL: https://issues.apache.org/jira/browse/RATIS-294 Project: Ratis Issue Type: Improvement

[jira] [Commented] (RATIS-288) Pom cleanup/simplification

2018-08-07 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16572097#comment-16572097 ] Tsz Wo Nicholas Sze commented on RATIS-288: --- > I can move the rat-plugin to just run at release

<    2   3   4   5   6   7   8   9   10   11   >