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

Thomas Koch commented on ZOOKEEPER-1193:
----------------------------------------

DataTree.createNode has
  if(parentCVersion == -1) ...

I was wondering, what this is about and found, that it's related to the upgrade 
code Search for calls to CreateTxn.setParentCVersion()!

There may be other places that make the current code more complicate and can be 
cleaned up, if we don't need the upgrade code anymore.
                
> Remove upgrade code
> -------------------
>
>                 Key: ZOOKEEPER-1193
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1193
>             Project: ZooKeeper
>          Issue Type: Task
>            Reporter: Thomas Koch
>            Priority: Minor
>
> ZOOKEEPER-5 introduced the upgrade feature in october 2008. It may be time to 
> think whether there are still installations in the wild that needs this 
> upgrade feature. Otherwise the respective code can be removed.
> Even if there should be old installations, couldn't they just use some ZK 3.x 
> version to upgrade and we could still remove the upgrade code from the trunk?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to