[jira] [Assigned] (RATIS-427) Add doesGroupExists API to RaftServer

2018-11-17 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze reassigned RATIS-427: - Assignee: Tsz Wo Nicholas Sze > Add doesGroupExists API to RaftServer >

[jira] [Commented] (RATIS-409) Watch requests may not work if there is a conf change

2018-11-17 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16690733#comment-16690733 ] Tsz Wo Nicholas Sze commented on RATIS-409: --- The failed tests are not related. All tests passed

[jira] [Updated] (RATIS-409) Watch requests may not work if there is a conf change

2018-11-17 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-409: -- Attachment: r409_20181117.patch > Watch requests may not work if there is a conf change

[jira] [Commented] (RATIS-409) Watch requests may not work if there is a conf change

2018-11-17 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16690711#comment-16690711 ] Tsz Wo Nicholas Sze commented on RATIS-409: --- That's true, although some previously committed

[jira] [Commented] (RATIS-409) Watch requests may not work if there is a conf change

2018-11-17 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16690712#comment-16690712 ] Tsz Wo Nicholas Sze commented on RATIS-409: --- r409_20181117.patch: addresses [~jnp]'s comment and

[jira] [Commented] (RATIS-409) Watch requests may not work if there is a conf change

2018-11-16 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16690214#comment-16690214 ] Tsz Wo Nicholas Sze commented on RATIS-409: --- r409_20181116.patch: refactors the log index change

[jira] [Updated] (RATIS-409) Watch requests may not work if there is a conf change

2018-11-16 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-409: -- Attachment: r409_20181116.patch > Watch requests may not work if there is a conf change

[jira] [Commented] (RATIS-409) Watch requests may not work if there is a conf change

2018-11-16 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16690192#comment-16690192 ] Tsz Wo Nicholas Sze commented on RATIS-409: --- > ... commitIndex should be updated using max. The

[jira] [Updated] (RATIS-386) Raft Client Async API's should honor Retry Policy

2018-11-16 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-386: -- Attachment: RATIS-386.004_committed.patch > Raft Client Async API's should honor Retry

[jira] [Resolved] (RATIS-309) Add client api's to add/remove peers from a raft group.

2018-11-16 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze resolved RATIS-309. --- Resolution: Not A Problem Resolving this as Not-A-Problem. > Add client api's to

[jira] [Commented] (RATIS-386) Raft Client Async API's should honor Retry Policy

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

[jira] [Commented] (RATIS-427) Add doesGroupExists API to RaftServer

2018-11-16 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16689846#comment-16689846 ] Tsz Wo Nicholas Sze commented on RATIS-427: --- We already have - getGroupIds() in RaftServer for

[jira] [Commented] (RATIS-409) Watch requests may not work if there is a conf change

2018-11-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16688930#comment-16688930 ] Tsz Wo Nicholas Sze commented on RATIS-409: --- r409_20181115.patch: fixes a bug: commitIndex

[jira] [Comment Edited] (RATIS-409) Watch requests may not work if there is a conf change

2018-11-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16688930#comment-16688930 ] Tsz Wo Nicholas Sze edited comment on RATIS-409 at 11/16/18 2:45 AM: -

[jira] [Updated] (RATIS-409) Watch requests may not work if there is a conf change

2018-11-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-409: -- Attachment: r409_20181115.patch > Watch requests may not work if there is a conf change

[jira] [Commented] (RATIS-409) Watch requests may not work if there is a conf change

2018-11-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16688838#comment-16688838 ] Tsz Wo Nicholas Sze commented on RATIS-409: --- > leaderState.commitIndexChanged() is being called

[jira] [Comment Edited] (RATIS-386) Raft Client Async API's should honor Retry Policy

2018-11-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16688803#comment-16688803 ] Tsz Wo Nicholas Sze edited comment on RATIS-386 at 11/15/18 11:43 PM: --

[jira] [Commented] (RATIS-386) Raft Client Async API's should honor Retry Policy

2018-11-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16688803#comment-16688803 ] Tsz Wo Nicholas Sze commented on RATIS-386: --- The 003 patch looks good. Just one comment: -

[jira] [Commented] (RATIS-386) Raft Client Async API's should honor Retry Policy

2018-11-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16688780#comment-16688780 ] Tsz Wo Nicholas Sze commented on RATIS-386: --- > RATIS-386 does not apply to master. Rebase

[jira] [Updated] (RATIS-352) Persist commit index in Raft log.

2018-11-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-352: -- Attachment: r352_20181115.patch > Persist commit index in Raft log. >

[jira] [Commented] (RATIS-352) Persist commit index in Raft log.

2018-11-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16688772#comment-16688772 ] Tsz Wo Nicholas Sze commented on RATIS-352: --- r352_20181115.patch: updated with trunk. > Persist

[jira] [Updated] (RATIS-421) Use thirdparty-0.1.0

2018-11-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-421?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-421: -- Component/s: build +1 the 001 patch looks good. > Use thirdparty-0.1.0 >

[jira] [Updated] (RATIS-412) In RaftLog, change lastCommitted to private

2018-11-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-412?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-412: -- Labels: newbie (was: ) > In RaftLog, change lastCommitted to private >

[jira] [Updated] (RATIS-411) Remove "public" from ServerProtoUtils

2018-11-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-411?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-411: -- Component/s: server > Remove "public" from ServerProtoUtils >

[jira] [Updated] (RATIS-416) Fix checkstyle warnings in ClientImplUtils

2018-11-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-416: -- Labels: newbie (was: ) > Fix checkstyle warnings in ClientImplUtils >

[jira] [Updated] (RATIS-414) Fix checkstyle warnings in RaftClient and RaftClientImpl

2018-11-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-414: -- Labels: newbie (was: ) > Fix checkstyle warnings in RaftClient and RaftClientImpl >

[jira] [Updated] (RATIS-414) Fix checkstyle warnings in RaftClient and RaftClientImpl

2018-11-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-414?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-414: -- Component/s: client > Fix checkstyle warnings in RaftClient and RaftClientImpl >

[jira] [Updated] (RATIS-416) Fix checkstyle warnings in ClientImplUtils

2018-11-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-416?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-416: -- Component/s: client > Fix checkstyle warnings in ClientImplUtils >

[jira] [Updated] (RATIS-417) Fix checkstyle warnings in PureJavaCrc32C

2018-11-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-417: -- Component/s: util > Fix checkstyle warnings in PureJavaCrc32C >

[jira] [Updated] (RATIS-417) Fix checkstyle warnings in PureJavaCrc32C

2018-11-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-417: -- Labels: newbie (was: ) > Fix checkstyle warnings in PureJavaCrc32C >

[jira] [Created] (RATIS-419) The Arithmetic example cannot be run by the scripts

2018-11-15 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-419: - Summary: The Arithmetic example cannot be run by the scripts Key: RATIS-419 URL: https://issues.apache.org/jira/browse/RATIS-419 Project: Ratis

[jira] [Updated] (RATIS-415) Disable checkstyle DesignForExtension rule

2018-11-15 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-415: -- Attachment: r415_20181115.patch > Disable checkstyle DesignForExtension rule >

[jira] [Assigned] (RATIS-415) Disable checkstyle DesignForExtension rule

2018-11-14 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze reassigned RATIS-415: - Assignee: Tsz Wo Nicholas Sze Description: The DesignForExtension rule

[jira] [Created] (RATIS-417) Fix checkstyle warnings in PureJavaCrc32C

2018-11-14 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-417: - Summary: Fix checkstyle warnings in PureJavaCrc32C Key: RATIS-417 URL: https://issues.apache.org/jira/browse/RATIS-417 Project: Ratis Issue Type:

[jira] [Created] (RATIS-416) Fix checkstyle warnings in ClientImplUtils

2018-11-14 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-416: - Summary: Fix checkstyle warnings in ClientImplUtils Key: RATIS-416 URL: https://issues.apache.org/jira/browse/RATIS-416 Project: Ratis Issue Type:

[jira] [Created] (RATIS-415) Fix checkstyle warnings in RaftClientRpcWithProxy

2018-11-14 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-415: - Summary: Fix checkstyle warnings in RaftClientRpcWithProxy Key: RATIS-415 URL: https://issues.apache.org/jira/browse/RATIS-415 Project: Ratis

[jira] [Created] (RATIS-414) Fix checkstyle warnings in RaftClient and RaftClientImpl

2018-11-14 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-414: - Summary: Fix checkstyle warnings in RaftClient and RaftClientImpl Key: RATIS-414 URL: https://issues.apache.org/jira/browse/RATIS-414 Project: Ratis

[jira] [Commented] (RATIS-413) [Umbrella] Fix checkstyle warnings

2018-11-14 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16687382#comment-16687382 ] Tsz Wo Nicholas Sze commented on RATIS-413: --- The warnings can be generated by {code} $mvn

[jira] [Created] (RATIS-413) [Umbrella] Fix checkstyle warnings

2018-11-14 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-413: - Summary: [Umbrella] Fix checkstyle warnings Key: RATIS-413 URL: https://issues.apache.org/jira/browse/RATIS-413 Project: Ratis Issue Type:

[jira] [Commented] (RATIS-409) Watch requests may not work if there is a conf change

2018-11-14 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16687364#comment-16687364 ] Tsz Wo Nicholas Sze commented on RATIS-409: --- > commitIndexChanged method doesn't set

[jira] [Commented] (RATIS-386) Raft Client Async API's should honor Retry Policy

2018-11-14 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16687040#comment-16687040 ] Tsz Wo Nicholas Sze commented on RATIS-386: --- > I think ,we probably should have same result for

[jira] [Commented] (RATIS-406) In RaftServerImpl, the RaftLog.append(entries) call should not hold the RaftServerImpl lock

2018-11-14 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16687033#comment-16687033 ] Tsz Wo Nicholas Sze commented on RATIS-406: --- > ... I think instead of blocking the thread we

[jira] [Commented] (RATIS-406) In RaftServerImpl, the RaftLog.append(entries) call should not hold the RaftServerImpl lock

2018-11-14 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16687014#comment-16687014 ] Tsz Wo Nicholas Sze commented on RATIS-406: --- > ... Would it be simpler to either force only one

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

2018-11-13 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-131: -- Attachment: r131_20181113b.patch > Add checkstyle configuration >

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

2018-11-13 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze reassigned RATIS-131: - Assignee: Tsz Wo Nicholas Sze > Add checkstyle configuration >

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

2018-11-13 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-131?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-131: -- Attachment: r131_20181113.patch > Add checkstyle configuration >

[jira] [Commented] (RATIS-406) In RaftServerImpl, the RaftLog.append(entries) call should not hold the RaftServerImpl lock

2018-11-13 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16685905#comment-16685905 ] Tsz Wo Nicholas Sze commented on RATIS-406: --- r406_20181113.patch: move SequentalRunner class to

[jira] [Updated] (RATIS-406) In RaftServerImpl, the RaftLog.append(entries) call should not hold the RaftServerImpl lock

2018-11-13 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-406: -- Attachment: r406_20181113.patch > In RaftServerImpl, the RaftLog.append(entries) call

[jira] [Created] (RATIS-412) In RaftLog, change lastCommitted to private

2018-11-13 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-412: - Summary: In RaftLog, change lastCommitted to private Key: RATIS-412 URL: https://issues.apache.org/jira/browse/RATIS-412 Project: Ratis Issue

[jira] [Commented] (RATIS-409) Watch requests may not work if there is a conf change

2018-11-13 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16685876#comment-16685876 ] Tsz Wo Nicholas Sze commented on RATIS-409: --- r409_20181113b.patch reverts also other client side

[jira] [Updated] (RATIS-409) Watch requests may not work if there is a conf change

2018-11-13 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-409: -- Attachment: r409_20181113.patch > Watch requests may not work if there is a conf change

[jira] [Commented] (RATIS-409) Watch requests may not work if there is a conf change

2018-11-13 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16685850#comment-16685850 ] Tsz Wo Nicholas Sze commented on RATIS-409: --- The RaftClientImpl causes some test failures.  Will

[jira] [Commented] (RATIS-386) Raft Client Async API's should honor Retry Policy

2018-11-13 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-386?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16685836#comment-16685836 ] Tsz Wo Nicholas Sze commented on RATIS-386: --- Thanks [~shashikant]. Some comments on the patch:

[jira] [Commented] (RATIS-410) entry with stateMachineData may cause OOM

2018-11-13 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16685785#comment-16685785 ] Tsz Wo Nicholas Sze commented on RATIS-410: --- [~msingh], do you mean that the cached

[jira] [Updated] (RATIS-409) Watch requests may not work if there is a conf change

2018-11-12 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-409: -- Attachment: r409_20181112.patch > Watch requests may not work if there is a conf change

[jira] [Created] (RATIS-409) Watch requests may not work if there is a conf change

2018-11-12 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-409: - Summary: Watch requests may not work if there is a conf change Key: RATIS-409 URL: https://issues.apache.org/jira/browse/RATIS-409 Project: Ratis

[jira] [Commented] (RATIS-406) In RaftServerImpl, the RaftLog.append(entries) call should not hold the RaftServerImpl lock

2018-11-09 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16682152#comment-16682152 ] Tsz Wo Nicholas Sze commented on RATIS-406: --- r406_20181109.patch: 1st patch. > In

[jira] [Updated] (RATIS-406) In RaftServerImpl, the RaftLog.append(entries) call should not hold the RaftServerImpl lock

2018-11-09 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-406: -- Attachment: r406_20181109.patch > In RaftServerImpl, the RaftLog.append(entries) call

[jira] [Commented] (RATIS-167) Implement a high performance OutputStream using async API

2018-11-09 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16682131#comment-16682131 ] Tsz Wo Nicholas Sze commented on RATIS-167: --- r167_20181109.patch: updates with trunk. >

[jira] [Commented] (RATIS-399) Move all tests to a new module

2018-11-09 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16681953#comment-16681953 ] Tsz Wo Nicholas Sze commented on RATIS-399: --- > ... Ratis "core" tests to its own module will

[jira] [Commented] (RATIS-404) Deadlock in ratis between appendEntries and RaftLogWorker

2018-11-09 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16681944#comment-16681944 ] Tsz Wo Nicholas Sze commented on RATIS-404: --- > It seems that we may safely move the

[jira] [Created] (RATIS-406) In RaftServerImpl, the RaftLog.append(entries) call should not hold the RaftServerImpl lock

2018-11-09 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-406: - Summary: In RaftServerImpl, the RaftLog.append(entries) call should not hold the RaftServerImpl lock Key: RATIS-406 URL: https://issues.apache.org/jira/browse/RATIS-406

[jira] [Commented] (RATIS-404) Deadlock in ratis between appendEntries and RaftLogWorker

2018-11-09 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-404?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16681928#comment-16681928 ] Tsz Wo Nicholas Sze commented on RATIS-404: --- +1 the 001 patch looks good. It seems that we may

[jira] [Assigned] (RATIS-404) Deadlock in ratis between appendEntries and RaftLogWorker

2018-11-09 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-404?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze reassigned RATIS-404: - Resolution: Fixed Assignee: Mukul Kumar Singh I have committed this.

[jira] [Created] (RATIS-403) All tests cannot run in Jenkins

2018-11-08 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-403: - Summary: All tests cannot run in Jenkins Key: RATIS-403 URL: https://issues.apache.org/jira/browse/RATIS-403 Project: Ratis Issue Type: Bug

[jira] [Commented] (RATIS-403) All tests cannot run in Jenkins

2018-11-08 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16680668#comment-16680668 ] Tsz Wo Nicholas Sze commented on RATIS-403: --- Anyway, let's try if it helps by removing all the

[jira] [Updated] (RATIS-403) All tests cannot run in Jenkins

2018-11-08 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-403?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-403: -- Attachment: r403_20181108.patch > All tests cannot run in Jenkins >

[jira] [Commented] (RATIS-403) All tests cannot run in Jenkins

2018-11-08 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-403?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16680667#comment-16680667 ] Tsz Wo Nicholas Sze commented on RATIS-403: --- Both build #477 and build #478 has the same git

[jira] [Commented] (RATIS-401) StateMachineDataPolicy.getFromFuture should throw an exception if all retries have failed

2018-11-08 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16680610#comment-16680610 ] Tsz Wo Nicholas Sze commented on RATIS-401: --- r401_20181108.patch: throws the last

[jira] [Updated] (RATIS-401) StateMachineDataPolicy.getFromFuture should throw an exception if all retries have failed

2018-11-08 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-401: -- Attachment: r401_20181108.patch > StateMachineDataPolicy.getFromFuture should throw an

[jira] [Updated] (RATIS-401) StateMachineDataPolicy.getFromFuture should throw an exception if all retries have failed

2018-11-08 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-401: -- Attachment: (was: r398_20181108.patch) > StateMachineDataPolicy.getFromFuture

[jira] [Updated] (RATIS-401) StateMachineDataPolicy.getFromFuture should throw an exception if all retries have failed

2018-11-08 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-401: -- Attachment: r398_20181108.patch > StateMachineDataPolicy.getFromFuture should throw an

[jira] [Updated] (RATIS-401) StateMachineDataPolicy.getFromFuture should throw an exception if all retries have failed

2018-11-08 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-401: -- Description: If all retries have failed,

[jira] [Updated] (RATIS-401) StateMachineDataPolicy.getFromFuture should throw an exception if all retries have failed

2018-11-08 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-401: -- Description: If all retries have failed, > StateMachineDataPolicy.getFromFuture should

[jira] [Created] (RATIS-401) StateMachineDataPolicy.getFromFuture should throw an exception if all retries have failed

2018-11-08 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-401: - Summary: StateMachineDataPolicy.getFromFuture should throw an exception if all retries have failed Key: RATIS-401 URL: https://issues.apache.org/jira/browse/RATIS-401

[jira] [Updated] (RATIS-398) Update Dockerfile

2018-11-08 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-398: -- Attachment: r398_20181108.patch > Update Dockerfile > - > >

[jira] [Commented] (RATIS-399) Move all tests to a new module

2018-11-08 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16680447#comment-16680447 ] Tsz Wo Nicholas Sze commented on RATIS-399: --- Yes, Yetus and Jenins. In Jenkins, the downstream

[jira] [Created] (RATIS-402) Limit the data size in RaftLogWorker queue

2018-11-08 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-402: - Summary: Limit the data size in RaftLogWorker queue Key: RATIS-402 URL: https://issues.apache.org/jira/browse/RATIS-402 Project: Ratis Issue Type:

[jira] [Commented] (RATIS-398) Update Dockerfile

2018-11-08 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-398?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16680462#comment-16680462 ] Tsz Wo Nicholas Sze commented on RATIS-398: --- r398_20181108.patch: fixes indentation and tabs. >

[jira] [Commented] (RATIS-399) Move all tests to a new module

2018-11-08 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16679146#comment-16679146 ] Tsz Wo Nicholas Sze commented on RATIS-399: --- Actually, we only need to move the tests from

[jira] [Commented] (RATIS-399) Move all tests to a new module

2018-11-08 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16680225#comment-16680225 ] Tsz Wo Nicholas Sze commented on RATIS-399: --- > ... you ever try the -fn option instead of -fae?

[jira] [Created] (RATIS-398) Update Dockerfile

2018-11-08 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-398: - Summary: Update Dockerfile Key: RATIS-398 URL: https://issues.apache.org/jira/browse/RATIS-398 Project: Ratis Issue Type: Bug

[jira] [Created] (RATIS-399) Move all tests to a new module

2018-11-08 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-399: - Summary: Move all tests to a new module Key: RATIS-399 URL: https://issues.apache.org/jira/browse/RATIS-399 Project: Ratis Issue Type: Improvement

[jira] [Commented] (RATIS-399) Move all tests to a new module

2018-11-08 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-399?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16679115#comment-16679115 ] Tsz Wo Nicholas Sze commented on RATIS-399: --- [~jnp], [~elek], [~elserj], see if you have

[jira] [Updated] (RATIS-399) Move all tests to a new module

2018-11-08 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-399: -- Attachment: (was: r399_20181107.patch) > Move all tests to a new module >

[jira] [Updated] (RATIS-398) Update Dockerfile

2018-11-07 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-398: -- Attachment: r398_20181107.patch > Update Dockerfile > - > >

[jira] [Updated] (RATIS-398) Update Dockerfile

2018-11-07 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-398: -- Attachment: (was: r398_20181107.patch) > Update Dockerfile > - > >

[jira] [Updated] (RATIS-398) Update Dockerfile

2018-11-07 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-398: -- Attachment: r398_20181107.patch > Update Dockerfile > - > >

[jira] [Commented] (RATIS-352) Persist commit index in Raft log.

2018-11-07 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16678899#comment-16678899 ] Tsz Wo Nicholas Sze commented on RATIS-352: --- r352_20181107.patch: fixes TestBatchAppend. >

[jira] [Updated] (RATIS-352) Persist commit index in Raft log.

2018-11-07 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-352: -- Attachment: r352_20181107.patch > Persist commit index in Raft log. >

[jira] [Commented] (RATIS-396) Support retry if writeStateMachineData throws TimeoutIOException

2018-11-06 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16677563#comment-16677563 ] Tsz Wo Nicholas Sze commented on RATIS-396: --- All tests passed with the patch in my machine. >

[jira] [Updated] (RATIS-397) Remove the deprecated getMaxTimeout() method from MiniRaftCluster

2018-11-06 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-397?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-397: -- Description: MiniRaftCluster.getMaxTimeout() method was deprecated by  RATIS-381.  Let's

[jira] [Commented] (RATIS-396) Support retry if writeStateMachineData throws TimeoutIOException

2018-11-06 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16677558#comment-16677558 ] Tsz Wo Nicholas Sze commented on RATIS-396: --- r396_20181106.patch: adds retries and makes 

[jira] [Updated] (RATIS-396) Support retry if writeStateMachineData throws TimeoutIOException

2018-11-06 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-396: -- Attachment: r396_20181106.patch > Support retry if writeStateMachineData throws

[jira] [Updated] (RATIS-396) Support retry if writeStateMachineData throws TimeoutIOException

2018-11-06 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-396?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-396: -- Description: If the future from writeStateMachineData throws TimeoutIOException, the

[jira] [Created] (RATIS-396) Support retry if writeStateMachineData throws TimeoutIOException

2018-11-06 Thread Tsz Wo Nicholas Sze (JIRA)
Tsz Wo Nicholas Sze created RATIS-396: - Summary: Support retry if writeStateMachineData throws TimeoutIOException Key: RATIS-396 URL: https://issues.apache.org/jira/browse/RATIS-396 Project:

[jira] [Commented] (RATIS-352) Persist commit index in Raft log.

2018-11-06 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16677442#comment-16677442 ] Tsz Wo Nicholas Sze commented on RATIS-352: --- r352_20181106.patch: updates with trunk. > Persist

[jira] [Updated] (RATIS-352) Persist commit index in Raft log.

2018-11-06 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-352: -- Attachment: (was: r352_20181104.patch) > Persist commit index in Raft log. >

[jira] [Updated] (RATIS-352) Persist commit index in Raft log.

2018-11-06 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tsz Wo Nicholas Sze updated RATIS-352: -- Attachment: r352_20181106.patch > Persist commit index in Raft log. >

[jira] [Commented] (RATIS-395) Upgrade Apache Yetus to 0.8.0

2018-11-06 Thread Tsz Wo Nicholas Sze (JIRA)
[ https://issues.apache.org/jira/browse/RATIS-395?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16677430#comment-16677430 ] Tsz Wo Nicholas Sze commented on RATIS-395: --- r395_20181106.patch: - updates Yetus to 0.8.0 -

<    4   5   6   7   8   9   10   11   12   13   >