Return-Path: william@bourbon.usc.edu Delivery-Date: Sat Nov 22 20:43:51 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 mAN4hoU6008429 for ; Sat, 22 Nov 2008 20:43: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 mAN4foQC016736 for ; Sat, 22 Nov 2008 20:41:50 -0800 Message-Id: <200811230441.mAN4foQC016736@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: Question regarding get response Date: Sat, 22 Nov 2008 20:41:50 -0800 From: Bill Cheng Someone wrote: > In this mail, I meant that a node initiating a search and get upon > receiving the get response, stores the file in the cwd. > My question is that, along with storing the file in its cwd, should it > also store the file in its cache or permanent storage? Please see slide 16 of lecture 18. -- Bill Cheng // bill.cheng@usc.edu Bill Cheng wrote: > Someone wrote: > > > 1) Whenever a node gets a get response, should it store the file in its > > cache too(with the cache prob) along with saving it in its cwd? > > I assume you are talkinag the case where this node did not > initiate the GET request. Then the situation is the same > as a node who did not initiate a STORE request. Please see > my message with timestamp "Wed 19 Nov 19:54". > > > 2) If the file was in the cache of the node that initiated the get and > > search, should it be copied to its permanent folder too? > > Please read the "Additional Notes on File Retrieval (for Part > 2 only)" section of the spec. > -- > Bill Cheng // bill.cheng@usc.edu