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

Giovanni Matteo Fumarola commented on STORM-2027:
-------------------------------------------------

[~miguno], I am using your code to create a sliding window check to prevent DoS 
attack in [YARN-1547|https://issues.apache.org/jira/browse/YARN-1547].
During the implementation of it, [~yochen] found the bug and he created a UTC 
to verify the issue - the attached file.

> Possible Race Condition issue in SlidingWindow
> ----------------------------------------------
>
>                 Key: STORM-2027
>                 URL: https://issues.apache.org/jira/browse/STORM-2027
>             Project: Apache Storm
>          Issue Type: Bug
>            Reporter: Giovanni Matteo Fumarola
>            Priority: Minor
>         Attachments: TestSlotBasedCounter.java
>
>
> The function SlotBasedCounter#incrementCount() presents a bug. If 2 
> concurrent threads want to update the same counter, the result is different 
> from the expected.



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

Reply via email to