[jira] [Updated] (RATIS-122) Add a FileStore example

2017-10-26 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-122: -- Attachment: r122_20171026.patch r122_20171026.patch: - fixes a bug that the async writes

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

2017-10-26 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-123: - Summary: Add CLI for FileStore example Key: RATIS-123 URL: https://issues.apache.org/jira/browse/RATIS-123 Project: Ratis Issue Type: New Feature

[jira] [Updated] (RATIS-183) In gRPC, Follower should not wait for log sync to process next appendEntries

2018-01-04 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-183: -- Description: Currently the followers in a Ratis ring append entries synchronously on

[jira] [Updated] (RATIS-183) Parallelize log sync in Follower

2018-01-04 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-183: -- Description: Currently the followers in a Ratis ring append entries synchronously on

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

2018-01-04 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16312483#comment-16312483 ] Tsz Wo Nicholas Sze commented on RATIS-177: --- [~ljain], the v2 patch is not yet uploaded. The

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

2018-01-04 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16312565#comment-16312565 ] Tsz Wo Nicholas Sze commented on RATIS-177: --- +1 on the 002 patch. > Raft Leader should not

[jira] [Commented] (RATIS-168) Update Grpc version in Ratis.

2017-12-21 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16300986#comment-16300986 ] Tsz Wo Nicholas Sze commented on RATIS-168: --- Patch looks good. Just a question: - Is there a

[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=16301135#comment-16301135 ] Tsz Wo Nicholas Sze commented on RATIS-178: --- {code} @Test public void testLateServerStart()

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

2017-12-21 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 updated RATIS-168: -- Issue Type: Improvement (was: Bug) Summary: Update Grpc and netty versions in

[jira] [Updated] (RATIS-174) Create binary package for the release.

2017-12-21 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-174: -- Issue Type: New Feature (was: Bug) +1 Tried the example. It works well. > Create

[jira] [Comment Edited] (RATIS-174) Create binary package for the release.

2017-12-21 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-174?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16300948#comment-16300948 ] Tsz Wo Nicholas Sze edited comment on RATIS-174 at 12/22/17 4:17 AM: -

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

2017-12-21 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16300952#comment-16300952 ] Tsz Wo Nicholas Sze commented on RATIS-175: --- Good catch. This is why we still have bind

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

2017-12-21 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-178: - Summary: The third server cannot join the raft group Key: RATIS-178 URL: https://issues.apache.org/jira/browse/RATIS-178 Project: Ratis Issue

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

2017-12-23 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_20171223.patch r179_20171223.patch: adds cluster.shutdown(). > Improve

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

2017-12-23 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16302267#comment-16302267 ] Tsz Wo Nicholas Sze commented on RATIS-178: --- The patch depends on RATIS-179. > The third server

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

2017-12-23 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 reassigned RATIS-178: - Assignee: Tsz Wo Nicholas Sze > The third server cannot join the raft group >

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

2017-12-23 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_20171223.patch r178_20171223.patch: server should not withhold vote if

[jira] [Updated] (RATIS-185) Unable to assign more than one digit in the CLI of arithmetic example

2018-01-07 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-185: -- Fix Version/s: 0.2.0-alpha > Unable to assign more than one digit in the CLI of

[jira] [Commented] (RATIS-183) In gRPC, Follower should not wait for log sync to process next appendEntries

2018-01-06 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16315091#comment-16315091 ] Tsz Wo Nicholas Sze commented on RATIS-183: --- - RaftServerRpc does not need to extend

[jira] [Commented] (RATIS-189) AppendRequestStreamObserver close can be called twice

2018-01-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16321790#comment-16321790 ] Tsz Wo Nicholas Sze commented on RATIS-189: --- How about using an AtomicBoolean in close() so that

[jira] [Commented] (RATIS-189) AppendRequestStreamObserver close can be called twice

2018-01-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16321778#comment-16321778 ] Tsz Wo Nicholas Sze commented on RATIS-189: --- [~msingh], do you know how to reproduce the bug? In

[jira] [Commented] (RATIS-189) AppendRequestStreamObserver close can be called twice

2018-01-10 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16321782#comment-16321782 ] Tsz Wo Nicholas Sze commented on RATIS-189: --- In particular, when did the first onCompleted() is

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

2018-01-03 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16309773#comment-16309773 ] Tsz Wo Nicholas Sze commented on RATIS-178: --- The failure of TestRaftServerJmx is not related.

[jira] [Commented] (RATIS-158) mvn clean install on centos7 fails

2018-01-04 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16312633#comment-16312633 ] Tsz Wo Nicholas Sze commented on RATIS-158: --- [~msingh], could you review and test if the patch

[jira] [Created] (RATIS-184) Document how to deploy the snapshot artifacts

2018-01-04 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-184: - Summary: Document how to deploy the snapshot artifacts Key: RATIS-184 URL: https://issues.apache.org/jira/browse/RATIS-184 Project: Ratis Issue

[jira] [Updated] (RATIS-184) Document how to deploy the snapshot artifacts

2018-01-05 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-184: -- Attachment: r184_20180105.patch r184_20180105.patch: separates DEPLOY.md from

[jira] [Commented] (RATIS-183) In gRPC, Follower should not wait for log sync to process next appendEntries

2018-01-04 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16312649#comment-16312649 ] Tsz Wo Nicholas Sze commented on RATIS-183: --- We probably should add a

[jira] [Updated] (RATIS-184) Document how to deploy the snapshot artifacts

2018-01-05 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-184: -- Attachment: (was: r184_20180105.patch) > Document how to deploy the snapshot

[jira] [Assigned] (RATIS-158) mvn clean install on centos7 fails

2018-01-04 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze reassigned RATIS-158: - Assignee: Sandeep Nemuri > mvn clean install on centos7 fails >

[jira] [Updated] (RATIS-184) Document how to deploy the snapshot artifacts

2018-01-05 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-184: -- Attachment: r184_20180105.patch > Document how to deploy the snapshot artifacts >

[jira] [Updated] (RATIS-184) Document how to deploy the snapshot artifacts

2018-01-05 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-184: -- Attachment: (was: r184_20180105.patch) > Document how to deploy the snapshot

[jira] [Updated] (RATIS-185) Unable to assign more than one digit in the CLI of arithmetic example

2018-01-05 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-185?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-185: -- Summary: Unable to assign more than one digit in the CLI of arithmetic example (was:

[jira] [Commented] (RATIS-158) mvn clean install on centos7 fails

2018-01-08 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16317661#comment-16317661 ] Tsz Wo Nicholas Sze commented on RATIS-158: --- Thanks Mukul for reviewing and testing the patch.

[jira] [Created] (RATIS-192) TestFileStoreWithGrpc is failing

2018-01-15 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-192: - Summary: TestFileStoreWithGrpc is failing Key: RATIS-192 URL: https://issues.apache.org/jira/browse/RATIS-192 Project: Ratis Issue Type: Bug

[jira] [Updated] (RATIS-192) In gRPC, appendEntries replies were received out of order on the Leader

2018-01-19 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-192: -- Summary: In gRPC, appendEntries replies were received out of order on the Leader (was:

[jira] [Commented] (RATIS-193) RaftClientProtocolService can close a stream twice on error

2018-01-18 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16331866#comment-16331866 ] Tsz Wo Nicholas Sze commented on RATIS-193: --- Thanks Mukul. BTW, please set "Fix Version/s" when

[jira] [Updated] (RATIS-192) TestFileStoreWithGrpc is failing

2018-01-19 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-192: -- Attachment: r192_20180119.patch > TestFileStoreWithGrpc is failing >

[jira] [Commented] (RATIS-192) TestFileStoreWithGrpc is failing

2018-01-19 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16332065#comment-16332065 ] Tsz Wo Nicholas Sze commented on RATIS-192: --- +1 the 002 looks good. > TestFileStoreWithGrpc is

[jira] [Commented] (RATIS-192) TestFileStoreWithGrpc is failing

2018-01-19 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16332066#comment-16332066 ] Tsz Wo Nicholas Sze commented on RATIS-192: --- All example tests can pass in my machine. >

[jira] [Commented] (RATIS-192) In gRPC, appendEntries replies were received out of order on the Leader

2018-01-19 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16332087#comment-16332087 ] Tsz Wo Nicholas Sze commented on RATIS-192: --- Not sure why

[jira] [Commented] (RATIS-192) TestFileStoreWithGrpc is failing

2018-01-19 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16331916#comment-16331916 ] Tsz Wo Nicholas Sze commented on RATIS-192: --- {code} // patch from RATIS-183 @@ -65,8 +65,7 @@

[jira] [Updated] (RATIS-192) In gRPC, appendEntries replies were received out of order on the Leader

2018-01-19 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-192: -- Fix Version/s: 0.2.0-alpha > In gRPC, appendEntries replies were received out of order

[jira] [Commented] (RATIS-192) TestFileStoreWithGrpc is failing

2018-01-19 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16331939#comment-16331939 ] Tsz Wo Nicholas Sze commented on RATIS-192: --- r192_20180119.patch: waits for the previous

[jira] [Commented] (RATIS-160) Retry cache should handle leader change after log commit

2018-01-19 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16332085#comment-16332085 ] Tsz Wo Nicholas Sze commented on RATIS-160: --- [~jingzhao], thanks a lot for helping out here! >

[jira] [Commented] (RATIS-196) RaftServerProtocolService may continue to reply after

2018-01-21 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16333825#comment-16333825 ] Tsz Wo Nicholas Sze commented on RATIS-196: --- +1 patch looks good. > RaftServerProtocolService

[jira] [Commented] (RATIS-195) TestRaftReconfigurationWithSimulatedRpc fails with assertion error

2018-01-21 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16333839#comment-16333839 ] Tsz Wo Nicholas Sze commented on RATIS-195: --- What is your Java version? Mine is {code} $java

[jira] [Commented] (RATIS-195) TestRaftReconfigurationWithSimulatedRpc fails with assertion error

2018-01-22 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16334700#comment-16334700 ] Tsz Wo Nicholas Sze commented on RATIS-195: --- I guess it probably is some other problems in your

[jira] [Assigned] (RATIS-75) Document Ratis library usage

2018-01-24 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-75?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze reassigned RATIS-75: Assignee: Tsz Wo Nicholas Sze > Document Ratis library usage >

[jira] [Updated] (RATIS-59) bin/ script changes for rmap

2018-01-24 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-59?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-59: - Fix Version/s: (was: 0.1.0-alpha) > bin/ script changes for rmap >

[jira] [Updated] (RATIS-60) Allow direct PB support for Message and SMLogEntry

2018-01-24 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-60?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-60: - Fix Version/s: (was: 0.1.0-alpha) > Allow direct PB support for Message and SMLogEntry

[jira] [Resolved] (RATIS-50) "RaftClientProtocolService" and "RaftServerProtocolService"

2018-01-24 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-50?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze resolved RATIS-50. -- Resolution: Duplicate Thanks [~kaiyangzhang] for filing this JIRA. We have some initial

[jira] [Resolved] (RATIS-130) Jerkins build compilation fails

2018-01-24 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze resolved RATIS-130. --- Resolution: Not A Problem This is not a problem anymore. Resolving ... > Jerkins

[jira] [Updated] (RATIS-61) QuorumSupplier

2018-01-24 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-61: - Fix Version/s: (was: 0.1.0-alpha) > QuorumSupplier > -- > >

[jira] [Assigned] (RATIS-202) RaftServerProxy uses a thread to wait

2018-01-24 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze reassigned RATIS-202: - Assignee: Tsz Wo Nicholas Sze Description: It calls impl.get() in getImpl()

[jira] [Updated] (RATIS-190) Support stale read from followers

2018-01-24 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-190: -- Summary: Support stale read from followers (was: Support read only request from

[jira] [Commented] (RATIS-192) TestFileStoreWithGrpc is failing

2018-01-17 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16330197#comment-16330197 ] Tsz Wo Nicholas Sze commented on RATIS-192: --- Just have tried running TestFileStoreWithGrpc with

[jira] [Commented] (RATIS-192) TestFileStoreWithGrpc is failing

2018-01-17 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16330205#comment-16330205 ] Tsz Wo Nicholas Sze commented on RATIS-192: --- BTW, the QA build did not run TestFileStoreWithGrpc

[jira] [Commented] (RATIS-193) RaftClientProtocolService can close a stream twice on error

2018-01-17 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16330092#comment-16330092 ] Tsz Wo Nicholas Sze commented on RATIS-193: --- +1 patch looks good. > RaftClientProtocolService

[jira] [Commented] (RATIS-189) AppendRequestStreamObserver close can be called twice

2018-01-11 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16323344#comment-16323344 ] Tsz Wo Nicholas Sze commented on RATIS-189: --- +1 patch looks good. > AppendRequestStreamObserver

[jira] [Updated] (RATIS-190) Support stale read from followers

2018-01-26 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-190: -- Attachment: r190_20180126.patch > Support stale read from followers >

[jira] [Commented] (RATIS-127) Move the state machine implementation to a new package

2018-01-26 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16341872#comment-16341872 ] Tsz Wo Nicholas Sze commented on RATIS-127: --- +1 patch looks good. > Move the state machine

[jira] [Updated] (RATIS-204) Add getLastAppliedTermIndex to StateMachine

2018-01-26 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-204: -- Attachment: r204_20180126.patch > Add getLastAppliedTermIndex to StateMachine >

[jira] [Resolved] (RATIS-184) Document how to deploy the snapshot artifacts

2018-01-29 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze resolved RATIS-184. --- Resolution: Fixed Fix Version/s: 0.2.0-alpha Thanks Mukul for reviewing and

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

2018-01-30 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16346136#comment-16346136 ] Tsz Wo Nicholas Sze commented on RATIS-205: --- r205_20180130.patch: - includes GroupCommitInfo in

[jira] [Commented] (RATIS-204) Add getLastAppliedTermIndex to StateMachine

2018-01-30 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16345661#comment-16345661 ] Tsz Wo Nicholas Sze commented on RATIS-204: --- r204_20180130.patch: fixes a bug that

[jira] [Updated] (RATIS-204) Add getLastAppliedTermIndex to StateMachine

2018-01-30 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-204: -- Attachment: r204_20180130.patch > Add getLastAppliedTermIndex to StateMachine >

[jira] [Updated] (RATIS-204) Add getLastAppliedTermIndex to StateMachine

2018-01-30 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-204: -- Attachment: r204_20180130b.patch > Add getLastAppliedTermIndex to StateMachine >

[jira] [Commented] (RATIS-204) Add getLastAppliedTermIndex to StateMachine

2018-01-30 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16345882#comment-16345882 ] Tsz Wo Nicholas Sze commented on RATIS-204: --- r204_20180130b.patch: moves

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

2018-02-02 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-48?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze resolved RATIS-48. -- Resolution: Feedback Received Thanks [~kaiyangzhang] for testing Ratis. Your feedback is

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

2018-02-02 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16351112#comment-16351112 ] Tsz Wo Nicholas Sze commented on RATIS-203: --- Thanks Lokesh. You are right that we should fail

[jira] [Commented] (RATIS-201) MiniRaftCluster#getLeader may incorrectly throw IllegalStateException

2018-02-02 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-201?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16351026#comment-16351026 ] Tsz Wo Nicholas Sze commented on RATIS-201: --- Hi Lokesh, the RaftTestUtil.waitForLeader(..)

[jira] [Resolved] (RATIS-69) Improvement on Segmented Log and its cache

2018-02-02 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze resolved RATIS-69. -- Resolution: Fixed Fix Version/s: 0.2.0-alpha This is no more TODO in RaftLogCache.

[jira] [Commented] (RATIS-131) Add checkstyle configuration

2018-01-27 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16342372#comment-16342372 ] Tsz Wo Nicholas Sze commented on RATIS-131: --- Thanks a lot for working on this! I am fine for

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

2018-02-01 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16349530#comment-16349530 ] Tsz Wo Nicholas Sze commented on RATIS-205: --- r205_20180201.patch(depends on RATIS-206): adds a

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

2018-02-01 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_20180201.patch > Return commit indices to client >

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

2018-02-01 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-207: - Summary: Implement stale read Key: RATIS-207 URL: https://issues.apache.org/jira/browse/RATIS-207 Project: Ratis Issue Type: Sub-task

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

2018-02-01 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16349646#comment-16349646 ] Tsz Wo Nicholas Sze commented on RATIS-207: --- r207_20180201.patch: 1st patch. > Implement stale

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

2018-02-01 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_20180201.patch > Implement stale read > > >

[jira] [Updated] (RATIS-206) Change StateMachine.query to pass and return Message

2018-01-31 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-206: -- Summary: Change StateMachine.query to pass and return Message (was: Chanage

[jira] [Updated] (RATIS-206) Change StateMachine.query to pass and return Message

2018-01-31 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-206: -- Attachment: r206_20180131.patch > Change StateMachine.query to pass and return Message >

[jira] [Updated] (RATIS-204) Add getLastAppliedTermIndex to StateMachine

2018-01-31 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-204?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-204: -- Attachment: r204_20180131.patch > Add getLastAppliedTermIndex to StateMachine >

[jira] [Commented] (RATIS-204) Add getLastAppliedTermIndex to StateMachine

2018-01-31 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16347631#comment-16347631 ] Tsz Wo Nicholas Sze commented on RATIS-204: --- TestReinitializationWithSimulatedRpc does pass in my

[jira] [Commented] (RATIS-204) Add getLastAppliedTermIndex to StateMachine

2018-01-31 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16347702#comment-16347702 ] Tsz Wo Nicholas Sze commented on RATIS-204: --- r204_20180131b.patch: Cleanup imports > Add

[jira] [Commented] (RATIS-204) Add getLastAppliedTermIndex to StateMachine

2018-01-31 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-204?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16347630#comment-16347630 ] Tsz Wo Nicholas Sze commented on RATIS-204: --- Thanks [~msingh] for the review. # Sure, let me

[jira] [Created] (RATIS-206) Chanage StateMachine.query to pass and return Message

2018-01-31 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-206: - Summary: Chanage StateMachine.query to pass and return Message Key: RATIS-206 URL: https://issues.apache.org/jira/browse/RATIS-206 Project: Ratis

[jira] [Commented] (RATIS-206) Change StateMachine.query to pass and return Message

2018-01-31 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16347743#comment-16347743 ] Tsz Wo Nicholas Sze commented on RATIS-206: --- r206_20180131.patch: 1st patch (depends on

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

2018-01-31 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: -- Priority: Major (was: Minor) Description: Implements async read/write/delete

[jira] [Created] (RATIS-205) Return commit indices to client

2018-01-29 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-205: - Summary: Return commit indices to client Key: RATIS-205 URL: https://issues.apache.org/jira/browse/RATIS-205 Project: Ratis Issue Type: Sub-task

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

2018-01-31 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_20180131.patch > Return commit indices to client >

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

2018-01-31 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16347937#comment-16347937 ] Tsz Wo Nicholas Sze commented on RATIS-205: --- r205_20180131.patch: uses CommitInfoProto directly.

[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=16353168#comment-16353168 ] Tsz Wo Nicholas Sze commented on RATIS-201: --- [~ljain], how about we try-catch in testWithLoad in

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

2018-02-05 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_20180130.patch) > Return commit information to client >

[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: (was: r170_20180205.patch) > Add async support to the FileStore example

[jira] [Reopened] (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 reopened RATIS-201: --- Just find that the waitForLeader change breaks some tests (e.g.

[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=16353163#comment-16353163 ] Tsz Wo Nicholas Sze commented on RATIS-201: --- Revert the commit

[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=16353170#comment-16353170 ] Tsz Wo Nicholas Sze commented on RATIS-170: --- The failed tests are not related to this. They were

[jira] [Comment Edited] (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=16353159#comment-16353159 ] Tsz Wo Nicholas Sze edited comment on RATIS-201 at 2/6/18 12:50 AM:

[jira] [Commented] (RATIS-201) MiniRaftCluster#getLeader may incorrectly throw IllegalStateException

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=16352798#comment-16352798 ] Tsz Wo Nicholas Sze commented on RATIS-201: --- Thanks, Lokesh. For testWithLoad, should we pass

[jira] [Commented] (RATIS-197) Reads are failing in Ozone for keys of size greater than 4MB

2018-02-07 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16355936#comment-16355936 ] Tsz Wo Nicholas Sze commented on RATIS-197: --- +1 patch looks good. > Reads are failing in Ozone

[jira] [Updated] (RATIS-197) In gRPC, reads are failing for size greater than 4MB

2018-02-07 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-197: -- Description: Read failing found in Ozone; see HDFS-13078 for the details. was: Read

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