You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Tsz Wo Nicholas Sze (JIRA)" <ji...@apache.org> on 2019/05/24 07:39:00 UTC
[jira] [Assigned] (RATIS-566)
OrderedStreamObservers#closeAllExisting should close the streams writing to
certain group id only
[ https://issues.apache.org/jira/browse/RATIS-566?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tsz Wo Nicholas Sze reassigned RATIS-566:
-----------------------------------------
Assignee: Tsz Wo Nicholas Sze
Thanks [~msingh] for filling the bug. The closed OrderedRequestStreamObserver should also be removed from the map.
r566_20190524.patch: 1st patch.
> OrderedStreamObservers#closeAllExisting should close the streams writing to certain group id only
> -------------------------------------------------------------------------------------------------
>
> Key: RATIS-566
> URL: https://issues.apache.org/jira/browse/RATIS-566
> Project: Ratis
> Issue Type: Bug
> Components: server
> Affects Versions: 0.3.0
> Reporter: Mukul Kumar Singh
> Assignee: Tsz Wo Nicholas Sze
> Priority: Major
> Attachments: r566_20190524.patch
>
>
> OrderedStreamObservers#closeAllExisting currently closes all the stream observers on notifyNotLeader. However this can lead to stream observers for a different groups to be closed. This can cause the client to retry unnecessarily. Not leader should only close the stream observers for a certain groupid.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)