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

Rakesh R commented on BOOKKEEPER-773:
-------------------------------------

*Diff*
a) Added 2.3. Verification steps before performing any update operations.
b) Removed setting the newbookiehost to the oldcookie, here considering the 
verification steps will make sure that zookeeper and the filesystem is in sync. 

Partial failure cases like,
case-1) after 2.4 step assume cmd has crashed/failed(say zk is down)
Ans: Bookie startup will fail as it sees newbookie in the directories. This 
will be a hint to the users
case-2) after 2.5 step assume cmd has crashed/failed(say zk is down)
Ans: Bookie will be able to start with only new configuration. If anyone tries 
to use old conf, startup will fail as it sees newbookie in the directories.
Secondly, users can do cleanup by reexecuting the cmd by making zk up.

> Provide admin tool to rename bookie identifier in Cookies
> ---------------------------------------------------------
>
>                 Key: BOOKKEEPER-773
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-773
>             Project: Bookkeeper
>          Issue Type: Sub-task
>          Components: bookkeeper-server
>            Reporter: Rakesh R
>            Assignee: Rakesh R
>             Fix For: 4.3.0
>
>         Attachments: 001-BOOKKEEPER-773-rename-bookieid-in-cookies.patch, 
> 002-BOOKKEEPER-773-rename-bookieid-in-cookies.patch, 
> 003-BOOKKEEPER-773-rename-bookieid-in-cookies.patch, 
> 004-BOOKKEEPER-773-rename-bookieid.patch, 
> 005-BOOKKEEPER-773-rename-bookieid.patch, 
> 006-BOOKKEEPER-773-rename-bookieid.patch, 
> 007-BOOKKEEPER-773-rename-bookieid.patch, 
> 008-BOOKKEEPER-773-rename-bookieid.patch, 
> 009-BOOKKEEPER-773-rename-bookieid.patch, 
> 010-BOOKKEEPER-773-rename-bookieid.patch
>
>
> The idea of this JIRA to implement a mechanism to efficiently rename the 
> bookie identifier present in the Cookies. Cookie information will be present 
> in:
> - ledger & journal directories in each Bookie server
> - cookies znode in ZooKeeper



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

Reply via email to