<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 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 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 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 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 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 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>