I think I didn't provide enough detail about what I would do for this
issue. Basically what we need is just creating the needed folders when
found there is no folders , which normally happens on new machine when call
format. Rather than exit the process, it will make deployment much simpler.

At the beginning I want to reuse the format function to avoid duplicate
code. But I understand the concern of losing data when always call format
automatically. So I will write a new function to do that, it will only
create folder, without any deletion logic.

Enrico Olivelli (JIRA) <j...@apache.org>于2017年6月22日 周四上午8:55写道:

>
>     [
> https://issues.apache.org/jira/browse/BOOKKEEPER-1099?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16059570#comment-16059570
> ]
>
> Enrico Olivelli commented on BOOKKEEPER-1099:
> ---------------------------------------------
>
> I am fine with closing this issue as won't do
>
> > Make bookie automatically create folders on new machine.
> > --------------------------------------------------------
> >
> >                 Key: BOOKKEEPER-1099
> >                 URL:
> https://issues.apache.org/jira/browse/BOOKKEEPER-1099
> >             Project: Bookkeeper
> >          Issue Type: Improvement
> >          Components: bookkeeper-server
> >            Reporter: Zhimeng Shi
> >            Priority: Minor
> >   Original Estimate: 24h
> >  Remaining Estimate: 24h
> >
> > When bookie start and found it need run bookie format to create folders
> it should do that automatically. That way will make new machine deployment
> and machine replacement process much simpler without manually call the
> bookieformat command.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.4.14#64029)
>

Reply via email to