Re: when a node jumps from joining to normal

2011-12-19 Thread Brandon Williams
On Mon, Dec 19, 2011 at 7:59 PM, 夏帆 wrote: > StorageService.joinTokenRing will only execute bootstrap(token) if the node > boostraps. setToken is executed during a non-bootstrap startup. Right. bootstrap(token) is only called for bootstrapping nodes, but setToken is called either way. -Brandon

Re: when a node jumps from joining to normal

2011-12-19 Thread 夏帆
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 wrote: > On Mon, Dec 19, 2011 at 1:19 AM, 夏帆 wr

Re: when a node jumps from joining to normal

2011-12-19 Thread Brandon Williams
On Mon, Dec 19, 2011 at 1:19 AM, 夏帆 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 co

when a node jumps from joining to normal

2011-12-18 Thread 夏帆
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()"