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)