You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/11/24 19:49:12 UTC

[jira] [Commented] (CLOUDSTACK-6743) Race condition situation in MessageDetector may cause a outer tight loop to spin

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-6743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14223280#comment-14223280 ] 

ASF subversion and git services commented on CLOUDSTACK-6743:
-------------------------------------------------------------

Commit 2aa9bb6896c51733dc8a321888e1e1cba566e618 in cloudstack's branch refs/heads/4.3 from [~kelveny]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=2aa9bb6 ]

CLOUDSTACK-6743: Use edge-triggering in MessageDetector to handle bogus wakeup gracefully. Level triggering plus bogus wakeup can cause a tight loop to spin

(cherry picked from commit 09ec127470febacb45df1e0323a7bd7e7343bd2e)
Signed-off-by: Rohit Yadav <ro...@shapeblue.com>

Conflicts:
	framework/ipc/src/org/apache/cloudstack/framework/messagebus/MessageDetector.java
	framework/ipc/test/org/apache/cloudstack/messagebus/TestMessageBus.java


> Race condition situation in MessageDetector may cause a outer tight loop to spin
> --------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6743
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6743
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Management Server
>    Affects Versions: 4.3.0, 4.4.0
>            Reporter: Kelven Yang
>            Assignee: Kelven Yang
>            Priority: Critical
>             Fix For: 4.4.0
>
>
> MessageDetector current uses level-triggering to wait for messages from message bus, a bogus wakeup may cause outside loop to become spinning.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)