[
https://issues.apache.org/jira/browse/SAMZA-1134?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15905756#comment-15905756
]
ASF GitHub Bot commented on SAMZA-1134:
---------------------------------------
GitHub user sborya opened a pull request:
https://github.com/apache/samza/pull/81
SAMZA-1134:Simplify barrier for zk version upgrade.
see SAMZA-1134 for details.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/navina/samza SimplifyBarrierTO
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/samza/pull/81.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #81
----
commit c37421bdaa01d738aefe3ab819c08b0e10180fa5
Author: Boris Shkolnik <[email protected]>
Date: 2017-03-10T18:10:59Z
added comments for ZkBarrierUpgrade
commit 12cb96b8093eb07970124f208a3f7f42fc39e7e5
Author: Boris Shkolnik <[email protected]>
Date: 2017-03-10T18:44:51Z
simplified Barrier Timeout mechanism
commit a73ff928eb018142a37df070ee4fda767726c6d2
Author: Boris Shkolnik <[email protected]>
Date: 2017-03-10T19:41:59Z
checkstyle fix
----
> simplify ZK barrier for version upgrade.
> ----------------------------------------
>
> Key: SAMZA-1134
> URL: https://issues.apache.org/jira/browse/SAMZA-1134
> Project: Samza
> Issue Type: Sub-task
> Reporter: Boris Shkolnik
> Assignee: Boris Shkolnik
> Fix For: 0.13.0
>
>
> Currently the barrier protects against overwriting the barrier_done value, by
> multiple attempts of reading and writing (while verifying the previously read
> data version), but since there is only one writer, this logic could be
> simplified to a single check and an exception.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)