Github user HeartSaVioR commented on the issue:

    https://github.com/apache/storm/pull/2041
  
    I think thread-unsafety of metrics is by design. They're guaranteed to be 
called only a thread at once, so unless we get or update the value on other 
than Spout or Bolt's event thread, they should be safe. Updating them is 
occurred from critical path, and metrics doesn't need to have synchronization 
overhead with current design.
    
    Btw, thread-unsafety on metrics is why I gave up metrics aggregation for 
worker side. Instead of struggling about metrics more, I'm just waiting for 
Metrics V2.


---
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