Return-Path: william@bourbon.usc.edu Delivery-Date: Mon Oct 27 18:31:50 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on merlot.usc.edu X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from bourbon.usc.edu (bourbon.usc.edu [128.125.9.75]) by merlot.usc.edu (8.14.1/8.14.1) with ESMTP id m9S1Vo9A027325 for ; Mon, 27 Oct 2008 18:31:50 -0700 Received: from bourbon.usc.edu (localhost.localdomain [127.0.0.1]) by bourbon.usc.edu (8.14.2/8.14.1) with ESMTP id m9S1gniI019198 for ; Mon, 27 Oct 2008 18:42:49 -0700 Message-Id: <200810280142.m9S1gniI019198@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: not enough neighbors after soft restart Date: Mon, 27 Oct 2008 18:42:49 -0700 From: Bill Cheng Someone wrote: > So, then in case of join, spec says the node should "rejoin" the network > (based on the init neighbors). So, should it soft start or die out in > this case ? > Because, if it soft starts, then it could be softstarting for ever. I'm not sure what you are referring to. Everywhere in the spec where it says "rejoin the network", it always say delete init_neighbor_list first! So, it cannot do a "rejoin based on the init neighbors". A regular node is either JOINing the network (when it does not have an init_neighbor_list file) or participating in the network (when it has an init_neighbor_list file). It cannot do both. -- Bill Cheng // bill.cheng@usc.edu > Someone wrote: > > > If the no of neighbors up are less than the min. neighbors then a node > > does soft restart. > > And delete init_neighbor_list file. > > > what if , even after soft restart , the number of neighbors up are > > less than min_neighbors, then what a node should do ? > > When it restarts, it's doing a JOIN, so it ignores MinNeighbors. > During the JOIN, what matters is InitNeighbors. > > > Exit or try to send join requests continuously till it finds the > > enough number of neighbors ? > > This JOIN is no different than other JOINs! > -- > Bill Cheng // bill.cheng@usc.edu