Return-Path: william@bourbon.usc.edu Delivery-Date: Tue Oct 28 07:42:25 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 m9SEgPGG004672 for ; Tue, 28 Oct 2008 07:42:25 -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 m9SErWNc028976 for ; Tue, 28 Oct 2008 07:53:32 -0700 Message-Id: <200810281453.m9SErWNc028976@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: not enough neighbors after soft restart Date: Tue, 28 Oct 2008 07:53:32 -0700 From: Bill Cheng Someone wrote: > you mentioned that "After you get join responses, you > wait for JoinTimeout (or " > so, if i get a ctrl + c, when i still getting all the join reponses or > fiding my neighbors, what should i do ? > 1. the node which wants to join the network, goes down ? or > 2. the node considers only the responses it received till that time and > based on that joins the servant or goes down ? Please see: http://merlot.usc.edu/cs551-f08/projects/final-faq.html#cntrl_c > also,i had a question about the general sequence of events that will happen > when you start the program by > "sv_node ". > the node will perform all its functions i.e. join, hello etc. and finally > when it becomes an active node in the network, we give the user the prompt > where he/she can enter the commands he/she wants to execute. > in the background it will still be doing its functions like keepalive, check > etc., now in the course of time if it finds that it needs to go down due to > some reason then should it display a message to the user that it needs to > shutdown due to xyz reason and shut itself down. > > the above execution will however differ when it is a beacon or non beacon > but in general terms is this how a node should work ? Pretty much! The difference between a beacon and a non-beacon node is fairly minor. -- Bill Cheng // bill.cheng@usc.edu