You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2019/03/11 02:02:47 UTC
[GitHub] [bookkeeper] jiazhai commented on issue #1968: Tool to search and
replace bookie ids in ledger metadata
jiazhai commented on issue #1968: Tool to search and replace bookie ids in ledger metadata
URL: https://github.com/apache/bookkeeper/pull/1968#issuecomment-471380267
@ivankelly
Is it good to add your use case into the PR description?
```
The usecase is that a client needed to update the DNS addresses of their bookies. The data already existed on the bookie, but the DNS and advertised address was changing (I had to update the cookies manually with sed, it was a stateful set in k8s). I wanted to avoid autorecovery trying to recovery every existing ledger, since the data was still where it should have been.
updateledgers does exist, but it's very limited. It only allows changing from ip to hostname or vice versa based on what is in the configuration file. Even on baremetal, this is awkward to use, but on k8s it's completely non-viable.
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services