StorageService.joinTokenRing will only execute bootstrap(token) if the node
boostraps. setToken is executed during a non-bootstrap startup. By the way,
the version of the source codes is 1.0.0-rc1.

On Tue, Dec 20, 2011 at 1:57 AM, Brandon Williams <dri...@gmail.com> wrote:

> On Mon, Dec 19, 2011 at 1:19 AM, 夏帆 <xiafa...@gmail.com> wrote:
> >     Recently I try to find out when a bootstraping node jumps from
> > joinning state to normal. I read the source code related to bootstrap and
> > have not found the codes updating the state of the node to be  normal. In
> > Bootstrapper.bootStrap(), the code
> > "StorageService.instance.finishBootStrapping()" is invokled at last, but
> > update of the Application status is not found. I am wondering whether
> there
> > is another thread that will update the status.
>
> StorageService.joinTokenRing does it near the bottom by calling setToken.
>
> -Brandon
>



-- 
Best Regards!

fan xia

Institute of Massive Computing
Software Engineering Institute
East China Normal University
NO.109(West), Math Building, NO.3663, Zhongshan Road(North), Shanghai, China

Reply via email to