Return-Path: william@bourbon.usc.edu Delivery-Date: Tue Nov 18 20:13: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.4 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 mAJ4DoxW024742 for ; Tue, 18 Nov 2008 20:13:50 -0800 Received: from bourbon.usc.edu (localhost.localdomain [127.0.0.1]) by bourbon.usc.edu (8.14.2/8.14.1) with ESMTP id mAJ4AjSV032470 for ; Tue, 18 Nov 2008 20:10:45 -0800 Message-Id: <200811190410.mAJ4AjSV032470@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: cs 551 question on tcp Date: Tue, 18 Nov 2008 20:10:45 -0800 From: Bill Cheng Someone wrote: > In the message dated, 11/17/2008 9:06 AM, you said that search response > should contain all the files that matched (whether is permanent storage > or cache). > Then, even if a node has not initiated a store, it could have stored > some files in its cache from other store commands issued by other nodes. > So this conflicts with whats mentioned below. I am a bit confused now. Hmm... I thought the original question was about the nodes have never received a STORE *message*! Now that you have mentioned it, it wasn't clear if the original question was about the user's STORE command or STORE messages. Certainly, if the user has never entered a STORE command, it is possible that the node could have received STORE messages from other nodes and could have cached files in its mini-filesystem. In this case, it would return status responses. Furthermore, if there is a search hit, it should return search responses. -- Bill Cheng // bill.cheng@usc.edu Bill Cheng wrote: > Oops! I didn't notice that the question asked about two things! > Sorry! > > For "status files", a node has nothing should return a status > response with no information returned. > > For "search", a node that does not have a hit should *not* > generate a search response. > -- > Bill Cheng // bill.cheng@usc.edu > > > > -----Original Message----- > Date: Tue, 18 Nov 2008 19:45:03 -0800 > From: Bill Cheng > To: cs551@merlot.usc.edu > Subject: Re: cs 551 question on tcp > > Someone wrote: > > > Files can only be added with a store correct? So if you have two nodes up > > that have never called store, then status files and search will always > > return nothing correct? > > Correct. > -- > Bill Cheng // bill.cheng@usc.edu