OK. I create new ledger when add new bookie. Thanks~
Enrico Olivelli <[email protected]> 于2020年3月7日周六 下午7:00写道: > > > Il Sab 7 Mar 2020, 11:46 Wei Liu <[email protected]> ha scritto: > >> I want to dynamic change ensemble size when added new bookie. >> > > This is usually not needed. > Otherwise you can simply start a new ledger. > Btw it is very common in my experience. > Usually you build a stream made of ledgers and the application deals with > ledgers not with the internals of the ledger > > Enrico > > >> Enrico Olivelli <[email protected]> 于2020年3月7日周六 下午6:08写道: >> >>> Hi Liu, >>> This is done automatically when a bookie is down, this is called >>> 'ensemble change' in code. >>> You should not care about ledger segments, it is all automatic and BK >>> takes care of dealing it >>> >>> Can you please tell more about your case? >>> >>> Enrico >>> >>> Il Sab 7 Mar 2020, 10:42 Wei Liu <[email protected]> ha scritto: >>> >>>> How do stop current segment and create a new segment for the current >>>> ledger? >>>> >>>> Thanks~ >>>> >>>> -- >>>> 一个人只拥有今生今世是不够的, >>>> 他还应该拥有诗意的世界。 >>>> >>>> [email protected] >>>> >>> >> >> -- >> 一个人只拥有今生今世是不够的, >> 他还应该拥有诗意的世界。 >> >> [email protected] >> > -- 一个人只拥有今生今世是不够的, 他还应该拥有诗意的世界。 [email protected]
