remove the last use of notifyOnDisconnect, in server selection #1975

Open
opened 2013-05-22 23:40:11 +00:00 by zooko · 8 comments

Please read the description of #816 for context. There is, I believe, a bug in foolscap's notifyOnDisconnect. We only use it in one place now, which is in the share allocation algorithm's server selection. We might want to keep using it there, even though it is buggy, because it doesn't matter that much whether it works or not -- it just changes the order of shares. Or we might want to remove the use of it, for similar reasons. It would also be possible to make the server selection more complicated in order to order the shares nicely even when a server fails to accept the share that you originally intended for it, but that might not be worth the complexity cost.

Please read the description of #816 for context. There is, I believe, a bug in foolscap's `notifyOnDisconnect`. We only use it in one place now, which is in the share allocation algorithm's server selection. We might want to keep using it there, even though it is buggy, because it doesn't matter that much whether it works or not -- it just changes the order of shares. Or we might want to remove the use of it, for similar reasons. It would also be possible to make the server selection more complicated in order to order the shares nicely even when a server fails to accept the share that you originally intended for it, but that might not be worth the complexity cost.
zooko added the
code-network
normal
defect
1.10.0
labels 2013-05-22 23:40:11 +00:00
zooko added this to the undecided milestone 2013-05-22 23:40:11 +00:00
daira commented 2013-05-23 03:12:53 +00:00
Owner

I think that it's possible to retain the deterministic allocation without too much complexity. We should consider this when designing the changes to share allocation for #1130, #1382, and related tickets.

I think that it's possible to retain the deterministic allocation without too much complexity. We should consider this when designing the changes to share allocation for #1130, #1382, and related tickets.
Author

Please see comment:89020.

Please see [comment:89020](/tahoe-lafs/trac-2024-07-25/issues/1768#issuecomment-89020).
Author

I would still like to kill our reliance on the notifyOnDisconnect feature of Foolscap, which is actually buggy in practice (see comment:89020), and which cannot be made bug-free even in principle, and which we don't really need very much.

I would still like to kill our reliance on the `notifyOnDisconnect` feature of Foolscap, which is *actually* buggy in practice (see [comment:89020](/tahoe-lafs/trac-2024-07-25/issues/1768#issuecomment-89020)), and which cannot be made bug-free even in principle, and which we don't really need very much.
daira commented 2015-08-25 20:18:37 +00:00
Owner

+1

+1
tahoe-lafs modified the milestone from undecided to 1.11.0 2015-08-25 20:18:37 +00:00

Milestone renamed

Milestone renamed
warner modified the milestone from 1.11.0 to 1.12.0 2016-03-22 05:02:52 +00:00

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

moving most tickets from 1.12 to 1.13 so we can release 1.12 with magic-folders
warner modified the milestone from 1.12.0 to 1.13.0 2016-06-28 18:20:37 +00:00

Moving open issues out of closed milestones.

Moving open issues out of closed milestones.
exarkun modified the milestone from 1.13.0 to 1.15.0 2020-06-30 14:45:13 +00:00
Owner

Ticket retargeted after milestone closed

Ticket retargeted after milestone closed
meejah modified the milestone from 1.15.0 to soon 2021-03-30 18:40:19 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: tahoe-lafs/trac-2024-07-25#1975
No description provided.