Wrong node gets removed from the group by cluster:group-quit
------------------------------------------------------------

                 Key: KARAF-1321
                 URL: https://issues.apache.org/jira/browse/KARAF-1321
             Project: Karaf
          Issue Type: Bug
          Components: cellar-core
    Affects Versions: cellar-2.2.4
         Environment: Ubuntu 11.04, Karaf-2.2.6-SNAPSHOT from 20120403, 
Cellar-2.2.4-SNAPSHOT from 20120312
            Reporter: Alexey Bespaly


karaf@trun> cluster:group-list
  Node                 Group
  opti.k313.int:5701   default
  opti.k313.int:5702   default
  opti.k313.int:5703   group1
* opti.k313.int:5704   group1
karaf@trun>

/*** NOTE: this might be needed to provoke the issue, but not sure
karaf@trun> cluster:group-quit 
No result received within given timeout
karaf@trun>
*/
 
karaf@trun> cluster:group-quit group1
log4j:ERROR Attempted to append to closed appender named [out].
log4j:ERROR Attempted to append to closed appender named [out].
  Node                 Group
* opti.k313.int:5704   default
  opti.k313.int:5701   default
  opti.k313.int:5702   default
karaf@trun>

A consequent call to group-join on the same node leads to the following result 
(the node gets duplicated):

karaf@trun> cluster:group-join group1
log4j:ERROR Attempted to append to closed appender named [out].
log4j:ERROR Attempted to append to closed appender named [out].
  Node                 Group
* opti.k313.int:5704   default
  opti.k313.int:5701   default
  opti.k313.int:5702   default
  opti.k313.int:5703   group1
* opti.k313.int:5704   group1
karaf@trun> 

Still, after restarting any node from the list, the following info gets shown 
on it:

karaf@trun> cluster:group-list 
  Node                 Group
  opti.k313.int:5703   default
  opti.k313.int:5704   default
  opti.k313.int:5701   default
* opti.k313.int:5702   default
  opti.k313.int:5703   group1
karaf@trun> 


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to