id summary reporter owner description type status priority milestone component version resolution keywords cc launchpad_bug 1130 Failure to achieve happiness in upload or repair kmarkley86 kevan "Prior to Tahoe-LAFS v1.7.1, the immutable uploader would sometimes raise an assertion error (#1118). We fixed that problem, and we also fixed the problem of uploader uploading an insufficiently well-distributed set of shares while thinking that it achieved servers-of-happiness. But now uploader gives up and doesn't upload at all, saying that it hasn't achieved happiness, when if it were smarter it could achieve happiness. This ticket is to make it successfully upload in this case. Log excerpt: {{{ 19:12:35.519 L20 []#1337 CHKUploader starting 19:12:35.519 L20 []#1338 starting upload of 19:12:35.520 L20 []#1339 creating Encoder 19:12:35.520 L20 []#1340 file size: 106 19:12:35.520 L10 []#1341 my encoding parameters: (2, 4, 4, 106) 19:12:35.520 L20 []#1342 got encoding parameters: 2/4/4 106 19:12:35.520 L20 []#1343 now setting up codec 19:12:35.520 L20 []#1344 using storage index 5xpii 19:12:35.520 L20 []#1345 starting 19:12:35.633 L10 []#1346 response from peer 47cslusc: alreadygot=(), allocated=(0,) 19:12:36.590 L10 []#1347 response from peer vjqcroal: alreadygot=(0, 3), allocated=(1,) 19:12:37.119 L10 []#1348 response from peer sn4ana4b: alreadygot=(1,), allocated=(2,) 19:12:37.124 L20 []#1349 storage: allocate_buckets 5xpiivbjrybcmy4ws7xp7dxez4 19:12:37.130 L10 []#1350 response from peer yuzbctlc: alreadygot=(2,), allocated=(0,) 19:12:37.130 L25 []#1351 server selection unsuccessful for : shares could be placed on only 3 server(s) such that any 2 of them have enough shares to recover the file, but we were asked to place shares on at least 4 such servers. (placed all 4 shares, want to place shares on at least 4 servers such that any 2 of them have enough shares to recover the file, sent 4 queries to 4 peers, 4 queries placed some shares, 0 placed none (of which 0 placed none due to the server being full and 0 placed none due to an error)), merged={0: set(['\xc52\x11Mb\xa1\xff\x8d\xafn\x0b#s\x17\xbe\x82\x85\x93G0']), 1: set(['\xaa`(\xb8\x0b\x89\x98Y\xfb\xcc2,T\xd0\xde\xf7\xca\xbfA#', '\x93x\x06\x83\x81\xdb\x12*\xe5\xb095T\xf0\x1e\xa5\x00V+\x0f']), 2: set(['\xc52\x11Mb\xa1\xff\x8d\xafn\x0b#s\x17\xbe\x82\x85\x93G0', '\x93x\x06\x83\x81\xdb\x12*\xe5\xb095T\xf0\x1e\xa5\x00V+\x0f']), 3: set(['\xaa`(\xb8\x0b\x89\x98Y\xfb\xcc2,T\xd0\xde\xf7\xca\xbfA#'])} 19:12:37.133 L20 []#1352 web: 127.0.0.1 PUT /uri/[CENSORED].. 500 1826 19:12:37.148 L23 []#1353 storage: aborting sharefile /home/tahoe/.tahoe/storage/shares/incoming/5x/5xpiivbjrybcmy4ws7xp7dxez4/0 }}}" defect new major soon code-peerselection 1.7.1 upload repair rebalancing availability unfinished-business servers-of-happiness