#1814 new defect

UploadUnhappinessError despite no apparent refusal of shares

Reported by: davidsarah Owned by:
Priority: normal Milestone: soon
Component: code-peerselection Version: 1.9.2
Keywords: error servers-of-happiness volunteergrid2 upload Cc: kevan
Launchpad Bug:

Description (last modified by markberger)

Reported by Brad Rupp:

I am getting a strange error while uploading files to Tahoe today.  The error is:

"UploadUnhappinessError('shares could be placed on only 9 server(s) such that any 7 of them have enough shares to recover the file, but we were asked to place shares on at least 10 such servers. (placed all 12 shares, want to place shares on at least 10 servers such that any 7 of them have enough shares to recover the file, sent 10 queries to 10 servers, 10 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))',) (profiles_activity.frm)"

My client settings are:

shares.needed = 7
shares.happy = 10
shares.total = 12

Actual available storage servers: 16

What is strange about the error is that it shows that 10 shares were placed and that there were 0 errors.  However, I get an unhappiness error.

The part of the error message that has me confused is:

"sent 10 queries to 10 servers, 10 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)"

Change History (9)

comment:1 Changed at 2012-09-27T19:19:35Z by davidsarah

It can happen that the happiness achieved is less than the number of shares placed, but in that case the error message should be showing that some servers didn't accept shares in the first-choice placement.

comment:2 Changed at 2012-09-28T03:05:00Z by zooko

  • Cc kevan added

comment:3 Changed at 2012-09-28T03:30:32Z by davidsarah

  • Keywords volunteergrid2 added

This error was seen on VolunteerGrid2, with a mix of version 1.8.3, 1.9.1 and 1.9.2 storage servers and a 1.9.2 client.

comment:4 Changed at 2013-09-01T12:27:14Z by markberger

  • Description modified (diff)
  • Milestone changed from undecided to 1.11.0

This ticket should be solved by #1382.

comment:5 Changed at 2015-01-20T17:26:33Z by warner

  • Milestone changed from 1.10.1 to 1.11.0

comment:6 Changed at 2016-03-22T05:02:52Z by warner

  • Milestone changed from 1.11.0 to 1.12.0

Milestone renamed

comment:7 Changed at 2016-06-28T18:20:37Z by warner

  • Milestone changed from 1.12.0 to 1.13.0

moving most tickets from 1.12 to 1.13 so we can release 1.12 with magic-folders

comment:8 Changed at 2020-06-30T14:45:13Z by exarkun

  • Milestone changed from 1.13.0 to 1.15.0

Moving open issues out of closed milestones.

comment:9 Changed at 2021-03-30T18:40:19Z by meejah

  • Milestone changed from 1.15.0 to soon

Ticket retargeted after milestone closed

Note: See TracTickets for help on using tickets.