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

ASF GitHub Bot commented on STORM-350:
--------------------------------------

Github user HeartSaVioR commented on the pull request:

    https://github.com/apache/storm/pull/797#issuecomment-148236995
  
    @revans2 
    I'm sorry but could you elaborate, please?
    
    NPE could be occurred that we were reading same offset two or more times 
since we set offset to null after reading.
    
    I don't know Disruptor deeply, but as far as I understand, I think 
consumeBatchWhenAvailable() seems not be thread safe unless _barrier.waitFor() 
forces wait for other thread to read datas first, since there're timing issue 
between modification of cursor and getting current cursor before calling 
_barrier.waitFor().
    
    If consumeBatchWhenAvailable() is not thread-safe, revised consumeBatch() 
is not thread-safe, too.


> Update disruptor to latest version (3.2.1)
> ------------------------------------------
>
>                 Key: STORM-350
>                 URL: https://issues.apache.org/jira/browse/STORM-350
>             Project: Apache Storm
>          Issue Type: Dependency upgrade
>          Components: storm-core
>            Reporter: Boris Aksenov
>            Assignee: Boris Aksenov
>            Priority: Minor
>             Fix For: 0.10.0
>
>         Attachments: 
> 20141117-0.9.3-rc1-3-worker-separate-1-spout-and-2-bolts-failing-tuples.png, 
> 20141117-0.9.3-rc1-one-worker-failing-tuples.png, 
> 20141117-0.9.3-rc1-three-workers-1-spout-3-bolts-failing-tuples.png, 
> 20141118-0.9.3-branch-3-worker-separate-1-spout-and-2-bolts-ok.png, 
> 20141118-0.9.3-branch-one-worker-ok.png, 
> 20141118-0.9.3-branch-three-workers-1-spout-3-bolts-ok.png, Storm UI1.pdf, 
> Storm UI2.pdf, storm-0.9.3-rc1-failing-tuples.png, 
> storm-0_9_2-incubating-failing-tuples.png, 
> storm-0_9_2-incubating-no-failing-tuples.png, 
> storm-failed-tuples-multi-node.png, storm-multi-node-without-350.png
>
>




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

Reply via email to