[JBoss JIRA] (JGRP-1915) JDBC_PING discovery fails when stale entries are found in the database
by Bela Ban (JIRA)
[ https://issues.jboss.org/browse/JGRP-1915?page=com.atlassian.jira.plugin.... ]
Bela Ban commented on JGRP-1915:
--------------------------------
I don't see where you found that the discovery responses are sorted and the first picked. As a matter of fact, in [1] we add all coordinators of the discovery responses to a list (not a sorted set) and then iterate through that list. So whoever coordinator sent their response first is asked to join the new member.
Note that I added shuffling of that list on line 104, so that crashed and not removed coords are skipped randomly.
I'll see if I can remove crashed (via kill -9) coordinators automatically, but see [2] for an explanation of why this is difficult. In a nutshell, if we have [A,B,C,D] and this splits into [A,B] and [C,D], and new coords remove od coords' files, then A would remove C.list and C would remove A.list.
[1] https://github.com/belaban/JGroups/blob/master/src/org/jgroups/protocols/...
[2] https://github.com/belaban/JGroups/blob/master/doc/design/CloudBasedDisco...
> JDBC_PING discovery fails when stale entries are found in the database
> ----------------------------------------------------------------------
>
> Key: JGRP-1915
> URL: https://issues.jboss.org/browse/JGRP-1915
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.6.1
> Reporter: Patrick Haas
> Assignee: Bela Ban
>
> Node: "CHQ-PATRICKH-55008"
> Database contains two rows.. other node is dead but was unable to remove the JDBC entry.
> 1) JChannel.connect(...)
> 2) JChannel.down(Event[CONNECT_WITH_STATE_TRANSFER_USE_FLUSH])
> 3) STATE_TRANSFER -> FRAG2 -> MFC -> UFC -> GMS
> 4) GMS.down(...) calls out to joinWithStateTransfer -> joinInternal(...)
> JDBC pulls the node list from the database table.
> Ping Data:
> - CHQ-PATRICKH-3895, name=CHQ-PATRICKH-3895, addr=10.1.130.228:55503, server
> - CHQ-PATRICKH-55008, name=CHQ-PATRICKH-55008, addr=10.1.130.228:57489
> joinInternal is a never-terminating while loop:
> - down: Event.FIND_INITIAL_MBRS_EVT
> - inspect responses -- no valid join responses
> - responses are NOT empty -> does not become singletonMember
> - gets all coordinators (none)
> - Sorts all nodes by GUID in a TreeSet
> - Is first of all joiners?
> - No, another joiner is listed first
> ... repeat forever
> When the process is restarted and a node ID < than the existing db entry is generated, it successfully takes over as owner.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 1 month
[JBoss JIRA] (WFLY-4387) Unable to configure ajaxTimeout in wildfly 8.2_Final
by Manjunatha KB (JIRA)
Manjunatha KB created WFLY-4387:
-----------------------------------
Summary: Unable to configure ajaxTimeout in wildfly 8.2_Final
Key: WFLY-4387
URL: https://issues.jboss.org/browse/WFLY-4387
Project: WildFly
Issue Type: Bug
Affects Versions: 8.2.0.Final
Environment: OS : Windows 8.1
WildFly: 8.2_Final
Reporter: Manjunatha KB
Assignee: Jason Greene
Hi. Am newbie to wildfly. Am facing an issue in getting ajax response as my DB is taking some quite time due to huge data. I guess wildfly is throwing internal server error after exactly 10 seconds of request time. So i need to know is there is any attribute which I need to set in standalone.xml to increase this timeout. Exactly as there is "ajaxTimeOut" in apache Tomcat.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 1 month
[JBoss JIRA] (JGRP-1915) JDBC_PING discovery fails when stale entries are found in the database
by Patrick Haas (JIRA)
[ https://issues.jboss.org/browse/JGRP-1915?page=com.atlassian.jira.plugin.... ]
Patrick Haas commented on JGRP-1915:
------------------------------------
I understand that this situation looks identical to a network partition. What bothers me is that the behavior is random. New groups are formed solely based on the random GUID that's generated.
I'd expect one of two outcomes:
- A new node always fails to connect when a stale entry remains in the database
- A new node always creates a new cluster, after trying to contact the existing nodes a sufficient number of times (i.e. when max_retries is reached, form a group with a sole member and advertise it).
I found the implemented behavior very surprising. Is there some larger deterministic algorithm that I'm not seeing?
> JDBC_PING discovery fails when stale entries are found in the database
> ----------------------------------------------------------------------
>
> Key: JGRP-1915
> URL: https://issues.jboss.org/browse/JGRP-1915
> Project: JGroups
> Issue Type: Bug
> Affects Versions: 3.6.1
> Reporter: Patrick Haas
> Assignee: Bela Ban
>
> Node: "CHQ-PATRICKH-55008"
> Database contains two rows.. other node is dead but was unable to remove the JDBC entry.
> 1) JChannel.connect(...)
> 2) JChannel.down(Event[CONNECT_WITH_STATE_TRANSFER_USE_FLUSH])
> 3) STATE_TRANSFER -> FRAG2 -> MFC -> UFC -> GMS
> 4) GMS.down(...) calls out to joinWithStateTransfer -> joinInternal(...)
> JDBC pulls the node list from the database table.
> Ping Data:
> - CHQ-PATRICKH-3895, name=CHQ-PATRICKH-3895, addr=10.1.130.228:55503, server
> - CHQ-PATRICKH-55008, name=CHQ-PATRICKH-55008, addr=10.1.130.228:57489
> joinInternal is a never-terminating while loop:
> - down: Event.FIND_INITIAL_MBRS_EVT
> - inspect responses -- no valid join responses
> - responses are NOT empty -> does not become singletonMember
> - gets all coordinators (none)
> - Sorts all nodes by GUID in a TreeSet
> - Is first of all joiners?
> - No, another joiner is listed first
> ... repeat forever
> When the process is restarted and a node ID < than the existing db entry is generated, it successfully takes over as owner.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 1 month
[JBoss JIRA] (JGRP-1910) MERGE3: Do not lose any members from view during a series of merges
by Bela Ban (JIRA)
[ https://issues.jboss.org/browse/JGRP-1910?page=com.atlassian.jira.plugin.... ]
Bela Ban resolved JGRP-1910.
----------------------------
Resolution: Done
> MERGE3: Do not lose any members from view during a series of merges
> -------------------------------------------------------------------
>
> Key: JGRP-1910
> URL: https://issues.jboss.org/browse/JGRP-1910
> Project: JGroups
> Issue Type: Bug
> Reporter: Radim Vansa
> Assignee: Bela Ban
> Fix For: 3.6.3
>
> Attachments: SplitMergeTest.java
>
>
> When connection between nodes is re-established, MERGE3 should merge the cluster together. This often does not involve a single MergeView but a series of such events. The problematic property of this protocol is that some of those views can lack certain members, though these are reachable.
> This causes problem in Infinispan since the cache cannot be fully rebalanced before another merge arrives, and all owners of certain segment can be gradually removed (and added again) to the view, while this is not detected as partition but crashed nodes -> losing all owners means data loss.
> Removing members from view should be the role of FDx protocols, not MERGEx.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 1 month
[JBoss JIRA] (WFCORE-568) "jboss-deployment-structure.xml" with schema location fails to deploy
by Stuart Douglas (JIRA)
[ https://issues.jboss.org/browse/WFCORE-568?page=com.atlassian.jira.plugin... ]
Stuart Douglas moved WFLY-4372 to WFCORE-568:
---------------------------------------------
Project: WildFly Core (was: WildFly)
Key: WFCORE-568 (was: WFLY-4372)
Affects Version/s: 1.0.0.Alpha19
(was: 8.2.0.Final)
Component/s: Server
(was: Server)
> "jboss-deployment-structure.xml" with schema location fails to deploy
> ---------------------------------------------------------------------
>
> Key: WFCORE-568
> URL: https://issues.jboss.org/browse/WFCORE-568
> Project: WildFly Core
> Issue Type: Bug
> Components: Server
> Affects Versions: 1.0.0.Alpha19
> Reporter: Wolfgang Knauf
> Assignee: Stuart Douglas
> Priority: Minor
>
> A "jboss-deployment-structure.xml" with a schemaLocation attribute will fail to deploy.
> This is a sample file:
> <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="urn:jboss:deployment-structure:1.1 http://www.jboss.org/schema/jbossas/jboss-deployment-structure-1_1.xsd">
> ...
> </jboss-deployment-structure>
> And this is the deployment error:
> And this is the parse exception:
> Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[3,129]
> Message: JBAS018754: Unexpected content of type 'element start', name is '{urn:jboss:deployment-structure:1.1}jboss-deployment-structure', text is: 'null'
> at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.unexpectedContent(JBossDeploymentStructureParser11.java:1129) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]
> at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.readElement(JBossDeploymentStructureParser11.java:211) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]
> at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.readElement(JBossDeploymentStructureParser11.java:69) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]
> at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)
> at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)
> at org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.parse(DeploymentStructureDescriptorParser.java:316) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]
> ... 8 more
> The schemaLocation attribute makes sense, because Eclipse will be able to validate the file,and you have code completion. With the JBossTools plugin, the "xmlns" attribute is enough to get all this, because JBossTools adds this file to the xml catalog.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 1 month
[JBoss JIRA] (WFLY-4372) "jboss-deployment-structure.xml" with schema location fails to deploy
by Stuart Douglas (JIRA)
[ https://issues.jboss.org/browse/WFLY-4372?page=com.atlassian.jira.plugin.... ]
Stuart Douglas reassigned WFLY-4372:
------------------------------------
Assignee: Stuart Douglas (was: Jason Greene)
> "jboss-deployment-structure.xml" with schema location fails to deploy
> ---------------------------------------------------------------------
>
> Key: WFLY-4372
> URL: https://issues.jboss.org/browse/WFLY-4372
> Project: WildFly
> Issue Type: Bug
> Components: Server
> Affects Versions: 8.2.0.Final
> Reporter: Wolfgang Knauf
> Assignee: Stuart Douglas
> Priority: Minor
>
> A "jboss-deployment-structure.xml" with a schemaLocation attribute will fail to deploy.
> This is a sample file:
> <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="urn:jboss:deployment-structure:1.1 http://www.jboss.org/schema/jbossas/jboss-deployment-structure-1_1.xsd">
> ...
> </jboss-deployment-structure>
> And this is the deployment error:
> And this is the parse exception:
> Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[3,129]
> Message: JBAS018754: Unexpected content of type 'element start', name is '{urn:jboss:deployment-structure:1.1}jboss-deployment-structure', text is: 'null'
> at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.unexpectedContent(JBossDeploymentStructureParser11.java:1129) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]
> at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.readElement(JBossDeploymentStructureParser11.java:211) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]
> at org.jboss.as.server.deployment.module.descriptor.JBossDeploymentStructureParser11.readElement(JBossDeploymentStructureParser11.java:69) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]
> at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)
> at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)
> at org.jboss.as.server.deployment.module.descriptor.DeploymentStructureDescriptorParser.parse(DeploymentStructureDescriptorParser.java:316) [wildfly-server-8.2.0.Final.jar:8.2.0.Final]
> ... 8 more
> The schemaLocation attribute makes sense, because Eclipse will be able to validate the file,and you have code completion. With the JBossTools plugin, the "xmlns" attribute is enough to get all this, because JBossTools adds this file to the xml catalog.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
9 years, 1 month