[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=16321782#comment-16321782 ] Tsz Wo Nicholas Sze commented on RATIS-189: --- In particular, when did the first onCompleted() is

[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