Return-Path: william@bourbon.usc.edu Delivery-Date: Mon Nov 24 21:02: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 mAP52n4r006851 for ; Mon, 24 Nov 2008 21:02: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 mAP51LIV000322 for ; Mon, 24 Nov 2008 21:01:21 -0800 Message-Id: <200811250501.mAP51LIV000322@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: CS551: Final Project 2 : FileID Date: Mon, 24 Nov 2008 21:01:21 -0800 From: Bill Cheng Someone wrote: > As it is given in the spec that ' Since FileID only matters when a user > enters a get user command, you only need to create a FileID if a > corresponding search reply was created.' So, if the search is performed for > a file on the same node, is it mandatory to print the FileID in the > corresponding search response as a search response isn't actually created > ?(it is only created when it is to be sent to some other node). Well, the idea is that you should simulate that a search response has been created. So, to be more accurate, the sentense you quoted should be: Since FileID only matters when a user enters a get user command, you only need to create a FileID if a you respond to a search request. -- Bill Cheng // bill.cheng@usc.edu