You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Jagadish (JIRA)" <ji...@apache.org> on 2016/03/17 09:10:34 UTC
[jira] [Created] (SAMZA-901) SamzaAppState re-design and bug fixes
Jagadish created SAMZA-901:
------------------------------
Summary: SamzaAppState re-design and bug fixes
Key: SAMZA-901
URL: https://issues.apache.org/jira/browse/SAMZA-901
Project: Samza
Issue Type: Bug
Reporter: Jagadish
There are a bunch of state data structures that are publicly exposed in SamzaAppState. These must be made thread-safe into accessors. These public global variables could mutated everywhere in Samza without regard for safety/visibility or correctness.
Making the SamzaAppState thread-safe will fix these races in code.
For example, there is an integer containerCount that is public which is manipulated by both the metrics reporter and the callback threads.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)