Return-Path: william@bourbon.usc.edu Delivery-Date: Tue Nov 18 21:13:26 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 mAJ5DQ0J025186 for ; Tue, 18 Nov 2008 21:13:26 -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 mAJ5AMeF000397 for ; Tue, 18 Nov 2008 21:10:22 -0800 Message-Id: <200811190510.mAJ5AMeF000397@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: cs 551 question on tcp Date: Tue, 18 Nov 2008 21:10:22 -0800 From: Bill Cheng Someone wrote: > My question stated two nodes neither of which had ever called store, meaning > neither a store message or store command had ever been generated. In that > case nothing would be returned. In other words all files have to originate > from a store command or a store message? You can also get files into your mini-filesystem from forwardig a GET message or iniitating a GET. -- Bill Cheng // bill.cheng@usc.edu -----Original Message----- From: Bill Cheng [mailto:william@bourbon.usc.edu] Sent: Tuesday, November 18, 2008 8:11 PM To: cs551@merlot.usc.edu Subject: Re: cs 551 question on tcp 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