Github user revans2 commented on a diff in the pull request:

    https://github.com/apache/storm/pull/1250#discussion_r57167482
  
    --- Diff: 
storm-core/src/jvm/org/apache/storm/transactional/TransactionalSpoutCoordinator.java
 ---
    @@ -71,7 +72,7 @@ public ITransactionalSpout getSpout() {
         
         @Override
         public void open(Map conf, TopologyContext context, 
SpoutOutputCollector collector) {
    -        _rand = new Random(Utils.secureRandomLong());
    +        _rand = new XORShiftRandom(Utils.secureRandomLong());
    --- End diff --
    
    This should be fine it is only ever called from a single thread.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to