Github user revans2 commented on a diff in the pull request:
https://github.com/apache/storm/pull/1250#discussion_r57173711
--- Diff: storm-core/src/clj/org/apache/storm/daemon/executor.clj ---
@@ -75,7 +76,7 @@
"Returns a function that returns a vector of which task indices to send
tuple to, or just a single task index."
[^WorkerTopologyContext context component-id stream-id ^Fields
out-fields thrift-grouping ^List target-tasks topo-conf]
(let [num-tasks (count target-tasks)
- random (Random.)
+ random (XORShiftRandom.)
--- End diff --
Again here the grouping could be called from multiple threads, but in this
case doubling up on some numbers should not be a big deal.
---
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.
---