<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">
<h3 class="r"><a
redirectcleaner-href="http://www.google.nl/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CDMQtwIwAA&url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dus3dQ0nnlHY&ei=ZbrIUfz2F4fHtAazyYGwAQ&usg=AFQjCNGqZjI9yrHDtEbBFMPJKg9JDXSf7g&bvm=bv.48293060,d.Yms"
redirectcleaner="http://www.google.nl/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CDMQtwIwAA&url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dus3dQ0nnlHY&ei=ZbrIUfz2F4fHtAazyYGwAQ&usg=AFQjCNGqZjI9yrHDtEbBFMPJKg9JDXSf7g&bvm=bv.48293060,d.Yms"
href="http://www.youtube.com/watch?v=us3dQ0nnlHY"
onmousedown="return
rwt(this,'','','','1','AFQjCNGqZjI9yrHDtEbBFMPJKg9JDXSf7g','','0CDMQtwIwAA','','',event)"><em>Congratulations</em>
!</a></h3>
<p>One bug down, perhaps some more to go.<br>
</p>
<p>Keep up the good work!<br>
</p>
<p>Kind regards,<br>
Ed<br>
<br>
</p>
<br>
On 06/24/13 23:21, Mark Berger wrote:<br>
</div>
<blockquote
cite="mid:CANAA-0tV6sHTajLgFutCVL2O_Lv2-9Hn5EbPdAv5y=NyrgpOSg@mail.gmail.com"
type="cite"><span></span>Daira was able to help me with this over
IRC. There was a problem with the test. The pull request on this
ticket fixes the issue: <span></span><a moz-do-not-send="true"
href="https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2008"
target="_blank">https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2008</a><br>
<br>
On Monday, June 24, 2013, Mark Berger wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">I've run into
a problem with my project that I can't seem to figure out. I'm
trying to get this test to pass: <a moz-do-not-send="true"
href="https://github.com/markberger/tahoe-lafs/blob/1382-immutable-peer-selection-2/src/allmydata/test/test_upload.py#L1911"
target="_blank">https://github.com/markberger/tahoe-lafs/blob/1382-immutable-peer-selection-2/src/allmydata/test/test_upload.py#L1911</a>.
<div>
<br>
</div>
<div>The peer selector is correctly suggesting that server 0
hold share 3. However, when I ask server 0 to hold the share
(which happens here: <a moz-do-not-send="true"
href="https://github.com/markberger/tahoe-lafs/blob/1382-immutable-peer-selection-2/src/allmydata/immutable/upload.py#L514"
target="_blank">https://github.com/markberger/tahoe-lafs/blob/1382-immutable-peer-selection-2/src/allmydata/immutable/upload.py#L514</a>),
allocated is empty, instead of agreeing to hold share 3 (this
occurs here: <a moz-do-not-send="true"
href="https://github.com/markberger/tahoe-lafs/blob/1382-immutable-peer-selection-2/src/allmydata/immutable/upload.py#L587"
target="_blank">https://github.com/markberger/tahoe-lafs/blob/1382-immutable-peer-selection-2/src/allmydata/immutable/upload.py#L587</a>).</div>
<div><br>
</div>
<div>After a little digging around I noticed that when I query
server 0 to store share 3, this else statement executes (<a
moz-do-not-send="true"
href="https://github.com/markberger/tahoe-lafs/blob/master/src/allmydata/storage/server.py#L284"
target="_blank">https://github.com/markberger/tahoe-lafs/blob/master/src/allmydata/storage/server.py#L284</a>),
which according to the comments, means there is no room to
store the share, which isn't right. Could this have something
to do with the fact that the store storedir is removed and
then created to delete the shares off of server 0 during the
test? The ticket that generated this test is here: <a
moz-do-not-send="true"
href="https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1118"
target="_blank">https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1118</a></div>
<div><br>
</div>
<div>Any help would really be appreciated!</div>
<div><br>
</div>
<div>Mark Berger</div>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
tahoe-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:tahoe-dev@tahoe-lafs.org">tahoe-dev@tahoe-lafs.org</a>
<a class="moz-txt-link-freetext" href="https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev">https://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>