Return-Path: william@bourbon.usc.edu Delivery-Date: Tue Nov 25 17:00:36 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 mAQ10aQ6017602 for ; Tue, 25 Nov 2008 17:00:36 -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 mAQ0xMXi014942 for ; Tue, 25 Nov 2008 16:59:22 -0800 Message-Id: <200811260059.mAQ0xMXi014942@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: Duplicate file in get response Date: Tue, 25 Nov 2008 16:59:22 -0800 From: Bill Cheng Someone wrote: > When a node initiates a get response, then after receivng the response, > it stores the file in its CWD and it checks in its filesystem if a file > already exists with the same filename, sha and nonce. My question is > that suppose a similar file exists in the cache, then it will discard > this new file but SHOULD it COPY the file from cache to perm storage ? It should simply change the bit to say that it's in perm storage now. -- Bill Cheng // bill.cheng@usc.edu