incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brandon Williams <dri...@gmail.com>
Subject Re: when a node jumps from joining to normal
Date Mon, 19 Dec 2011 17:57:00 GMT
On Mon, Dec 19, 2011 at 1:19 AM, 夏帆 <xiafan68@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

Mime
View raw message