Return-Path: william@bourbon.usc.edu Delivery-Date: Tue Nov 25 14:06:55 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 mAPM6tH6016193 for ; Tue, 25 Nov 2008 14:06:55 -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 mAPM5dYn012582 for ; Tue, 25 Nov 2008 14:05:39 -0800 Message-Id: <200811252205.mAPM5dYn012582@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: Doubt about Delete and Get message Date: Tue, 25 Nov 2008 14:05:39 -0800 From: Bill Cheng Someone wrote: > I have following queries, > > 1. When ever a node will initiate delete command, it will always check its > permanent storage to delete a file and not cache , is this right ? As I've mentioned several times, the cache and permanent storage should not be treated as separate storage! It should be treated as an attribute bit of a file. Then your question would answered itself! > 2. In Get, If a node initiate a get, and it finds that the file is in its > cache, it copies to permanent storage. While intermediate nodes forward > this file, if an intermediate node finds this file in its cache, then will > it copy that to its permanent storage ? or keep it in cache ? Cache. -- Bill Cheng // bill.cheng@usc.edu