[
https://issues.apache.org/jira/browse/HELIX-514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14126330#comment-14126330
]
Zhen Zhang commented on HELIX-514:
----------------------------------
Agree. We need define a clean Exception type for this case.
> ZkBaseDataAccessor#set() should throw BadVersionException instead of return
> false in case of version mismatch
> -------------------------------------------------------------------------------------------------------------
>
> Key: HELIX-514
> URL: https://issues.apache.org/jira/browse/HELIX-514
> Project: Apache Helix
> Issue Type: Bug
> Reporter: Zhen Zhang
> Assignee: Zhen Zhang
>
> ZkBaseDataAccessor#set() should throw BadVersionException instead of return
> false in case of version mismatch, since caller (e.g.
> HelixGroupCommit#commit()) may need to distinguish between fatal error and
> transient error (e.g. version mismatch) so it can retry.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)