[jboss-jira] [JBoss JIRA] (JGRP-1926) ForkChannel needs to call init() and start() correctly on all added protocols

Bela Ban (JIRA) issues at jboss.org
Mon Feb 1 07:59:00 EST 2016


     [ https://issues.jboss.org/browse/JGRP-1926?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bela Ban updated JGRP-1926:
---------------------------
    Attachment: bla.java


Modified version which uses RaftHandle to modify state. Works with FORK.

> ForkChannel needs to call init() and start() correctly on all added protocols
> -----------------------------------------------------------------------------
>
>                 Key: JGRP-1926
>                 URL: https://issues.jboss.org/browse/JGRP-1926
>             Project: JGroups
>          Issue Type: Bug
>            Reporter: Bela Ban
>            Assignee: Bela Ban
>             Fix For: 3.6.4
>
>         Attachments: bla.java, bla.java
>
>
> The attached program doesn't work because `RAFT.init()` tries to find `GMS` on the main stack, but `GMS` hasn't yet been created. Same issue with adding an `AddressGenerator` in `RAFT.init()`.
> Is `start()` called at all on protocols added by `FORK` on top of the main channel ? Is `init()` called at the right time ?
> The attached bla program reproduces the issue (in jgroups-raft).



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list