Return-Path: william@bourbon.usc.edu Delivery-Date: Thu Nov 6 18:32:07 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 mA72W7Hw012954 for ; Thu, 6 Nov 2008 18:32:07 -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 mA72Q6kB019607 for ; Thu, 6 Nov 2008 18:26:06 -0800 Message-Id: <200811070226.mA72Q6kB019607@bourbon.usc.edu> To: cs551@merlot.usc.edu Subject: Re: part 2 queries Date: Thu, 06 Nov 2008 18:26:06 -0800 From: Bill Cheng Someone wrote: > -> when a node(not the one which initiates the store) receives a store > request but does not store the file because storeprob coin flip > failed, should it still flood the store request? No. Please see the last bullet on slide 15 of lecture 18. > -> when store command is given at a node, should we wait for command > to complete(flood etc) before showing the prompt again Since there is no store response, you should just show the prompt. > -> since bit vector is 1024 bits long, thats 1024/8 = 128 > bytes(characters), spec says "Bit-vector - hexstring-encoded (256 > characters long) bit-vector for the keywords, followed by " > did I get something wrong here? 128 bytes encoded in hexstring format *is* 256 characters long. -- Bill Cheng // bill.cheng@usc.edu