[ 
https://issues.apache.org/jira/browse/SAMZA-901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15604659#comment-15604659
 ] 

Branislav Cogic commented on SAMZA-901:
---------------------------------------

Posted the patch, here is the RB link:
https://reviews.apache.org/r/53163/



> SamzaAppState re-design for thread safety
> -----------------------------------------
>
>                 Key: SAMZA-901
>                 URL: https://issues.apache.org/jira/browse/SAMZA-901
>             Project: Samza
>          Issue Type: Sub-task
>            Reporter: Jagadish
>            Assignee: Branislav Cogic
>
> 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 potential races in code. 
> Also, as Samza evolves, it is useful to provide accessors instead of exposing 
> all the public variables.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to