[JBoss JIRA] (JGRP-1908) Optional Executing protocol behavior to not attempt to repeat tasks
by William Burns (JIRA)
[ https://issues.jboss.org/browse/JGRP-1908?page=com.atlassian.jira.plugin.... ]
William Burns commented on JGRP-1908:
-------------------------------------
[~belaban] if there is no response when you release the build, I would say just to close this out.
> Optional Executing protocol behavior to not attempt to repeat tasks
> -------------------------------------------------------------------
>
> Key: JGRP-1908
> URL: https://issues.jboss.org/browse/JGRP-1908
> Project: JGroups
> Issue Type: Feature Request
> Reporter: Anuj Shah
> Assignee: William Burns
> Labels: executionservice
> Fix For: 3.6.3
>
>
> As discussed on forum:
> http://jgroups.1086181.n5.nabble.com/jgroups-users-ExecutionService-at-le...
> {quote}
> I've noticed that runnable tasks submitted to the ExecutionService can be run more than once!
> This would happen when a member executing the task is suspected and is removed from the cluster. The protocol handles this by resubmitting the request in Executing#handleView. I note the following JavaDoc
> // The person currently servicing our request has gone down
> // without completing so we have to keep our request alive by
> // sending ours back to the coordinator
> The problem is that there is no guarantee that the request was not completed.
> For my application a member executing the task had a absurdly long GC pause (30s) which meant it was temporarily removed from the cluster, when the pause completed it happily continued executing the task which had already been resubmitted and completed. The task in question involves modifying the database and is quite destructive, so you can imagine the fallout.
> I was hoping to get an opinion of if we think this behaviour is correct, especially since we are implementing a standard java,util.concurrent interface. (I couldn't find anything in the ExecutorService JavaDoc to say it is wrong though)
> Perhaps there could be control over the behaviour:
> * At least once - assumes task failed and resubmits
> * At most once - assumes task completed and cleans up - may not actually be complete
> * Exactly once - not sure if this is possible
> {quote}
> There is a simple change to exhibit the at least once behaviour by ignoring consumers that have left. I have the patch in my fork:
> https://github.com/anujshahwork/JGroups/commit/0f2c1f6f9ed57744841acdd192...
> Which my project is using. This can be wrapped in some simple configuration on the protocol to control the behaviour and would be a useful addition.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (JGRP-1917) FILE_PING: options to remove zombies
by Bela Ban (JIRA)
Bela Ban created JGRP-1917:
------------------------------
Summary: FILE_PING: options to remove zombies
Key: JGRP-1917
URL: https://issues.jboss.org/browse/JGRP-1917
Project: JGroups
Issue Type: Enhancement
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 3.6.3
In {{FILE_PING}} and subclasses ({{S3_PING}}, {{GOOGLE_PING}}), coordinators write the files (e.g. {{A.list}} for coord {{A}}).
There's a shutdown hook that removes {{A.list}} when {{A}} crashes.
However, when a coordinator is killed by kill -9, the file {{A.list}} won't get removed.
The problem with this is that new members will read {{A.list}} and get delayed trying to ask {{A}} to join the cluster although {{A}}'s not alive anymore ({{B}} is and created {{B.list}}).
Possible solution: implement a mechanism similar to JGRP-1915 where a coordinator removes *all files* on a view change with leaving members, and then writes its file again.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (WFCORE-544) Inconsistent handling of system properties.
by RH Bugzilla Integration (JIRA)
[ https://issues.jboss.org/browse/WFCORE-544?page=com.atlassian.jira.plugin... ]
RH Bugzilla Integration commented on WFCORE-544:
------------------------------------------------
Martin Simka <msimka(a)redhat.com> changed the Status of [bug 1192467|https://bugzilla.redhat.com/show_bug.cgi?id=1192467] from ON_QA to VERIFIED
> Inconsistent handling of system properties.
> --------------------------------------------
>
> Key: WFCORE-544
> URL: https://issues.jboss.org/browse/WFCORE-544
> Project: WildFly Core
> Issue Type: Bug
> Reporter: ehsavoie Hugonnet
> Assignee: ehsavoie Hugonnet
> Fix For: 1.0.0.Alpha19
>
>
> Description of problem:
> Having a domain with a single server group and two eap hosts (all on localhost), following system property cause server to fail on startup:
> <property name="org.jbpm.designer.perspective" value="${org.jbpm.designer.perspective:full}"/>
> The problem occurs only in definition with possibility to override default value - <property name="X" value="${Y:default}"/>, where X = Y
> Please see the error message in attached server log excerpt.
> More interesting is the fact that the issue shows with domain mode only, standalone mode works with properties defined as above.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months
[JBoss JIRA] (WFLY-4356) build.sh fails on OS X
by Carlo de Wolf (JIRA)
[ https://issues.jboss.org/browse/WFLY-4356?page=com.atlassian.jira.plugin.... ]
Carlo de Wolf reassigned WFLY-4356:
-----------------------------------
Assignee: Carlo de Wolf (was: Paul Gier)
> build.sh fails on OS X
> -----------------------
>
> Key: WFLY-4356
> URL: https://issues.jboss.org/browse/WFLY-4356
> Project: WildFly
> Issue Type: Bug
> Components: Build System
> Reporter: Jeff Mesnil
> Assignee: Carlo de Wolf
>
> the build.sh script fails on Mac OS X:
> {noformat}
> $ ./build.sh clean install
> Maven already exists
> Maven is correct version
> ./build.sh: line 107: ulimit: open files: cannot modify limit: Invalid argument
> {noformat}
> The ulimit error was already present before but since WFLY-4305, the build.sh script will exit after this error instead of continuing.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
11 years, 2 months