Create a specification for the servers of happiness behavior #911

Closed
opened 2010-01-17 05:20:35 +00:00 by kevan · 11 comments
kevan commented 2010-01-17 05:20:35 +00:00
Owner

The discussion in #778 is a bit jumbled to be a canonical specification for the servers of happiness behavior. It would be nice to distill that discussion into a coherent specification, and then to put that specification at docs/specifications/servers-of-happiness.txt.

The discussion in #778 is a bit jumbled to be a canonical specification for the servers of happiness behavior. It would be nice to distill that discussion into a coherent specification, and then to put that specification at docs/specifications/servers-of-happiness.txt.
tahoe-lafs added the
documentation
major
task
1.5.0
labels 2010-01-17 05:20:35 +00:00
tahoe-lafs added this to the undecided milestone 2010-01-17 05:20:35 +00:00
tahoe-lafs modified the milestone from undecided to 1.7.0 2010-02-01 19:56:23 +00:00

Kevan: your docs in your docs patch on #778 look sufficient to me. Shall we close this ticket as a dup of #778? If you agree then please go ahead and mark it as dup and close it.

Kevan: your docs in your docs patch on #778 look sufficient to me. Shall we close this ticket as a dup of #778? If you agree then please go ahead and mark it as dup and close it.

Oh, perhaps you mean to add doc of how Tahoe-LAFS calculates the servers-of-happiness for a given server-share mapping, or how it decides which servers to use or not use on upload. That is not currently done in your docs.txt over on #778.

Oh, perhaps you mean to add doc of *how* Tahoe-LAFS calculates the servers-of-happiness for a given server-share mapping, or how it decides which servers to use or not use on upload. That is *not* currently done in your docs.txt over on #778.
kevan commented 2010-05-08 19:44:36 +00:00
Author
Owner

Your second comment is correct -- the specification would cover what is in the docs for #778, as well as the reduction of the happiness behavior to a matching in a bipartite graph.

Your second comment is correct -- the specification would cover what is in the docs for #778, as well as the reduction of the happiness behavior to a matching in a bipartite graph.

Kevan: we've now added a bit more doc about servers-of-happiness in [architecture.txt]source:docs/architecture.txt@4309#L140, but I guess you want to actually write a complete specification of the matching algorithm and so on. Perhaps you should just add it as another paragraph in the "Server Select" part of architecture.txt? Anyway, it may be worth doing for 1.7.0 final.

Kevan: we've now added a bit more doc about servers-of-happiness in [architecture.txt]source:docs/architecture.txt@4309#L140, but I guess you want to actually write a complete specification of the matching algorithm and so on. Perhaps you should just add it as another paragraph in the "Server Select" part of architecture.txt? Anyway, it may be worth doing for 1.7.0 final.
kevan commented 2010-05-16 01:44:08 +00:00
Author
Owner

I'm planning on having whichever approach we want to go with done by 1.7.0 final.

I'm planning on having whichever approach we want to go with done by 1.7.0 final.
kevan commented 2010-05-19 00:59:03 +00:00
Author
Owner

I made docs/specifications/servers-of-happiness.txt -- I wanted to summarize a bit more of the discussion on #778 than I thought would fit well in the architecture document. I'm attaching a patch with that. However, the actual matching specification would very easily fit in architecture.txt. What do you think? Is the separate file overkill?

I made docs/specifications/servers-of-happiness.txt -- I wanted to summarize a bit more of the discussion on #778 than I thought would fit well in the architecture document. I'm attaching a patch with that. However, the actual matching specification would very easily fit in architecture.txt. What do you think? Is the separate file overkill?
kevan commented 2010-05-19 00:59:20 +00:00
Author
Owner

Attachment 911.darcspatch.txt (19061 bytes) added

**Attachment** 911.darcspatch.txt (19061 bytes) added
kevan commented 2010-05-24 00:46:18 +00:00
Author
Owner

Attachment 911specv2.dpatch (19196 bytes) added

revised specification that mentions that servers of happiness only applies to immutable files for now

**Attachment** 911specv2.dpatch (19196 bytes) added revised specification that mentions that servers of happiness only applies to immutable files for now

Applied in changeset:7cadb49b88c03209. Thanks!

Applied in changeset:7cadb49b88c03209. Thanks!
zooko added the
fixed
label 2010-06-16 18:58:16 +00:00
zooko closed this issue 2010-06-16 18:58:16 +00:00
tahoe-lafs removed the
fixed
label 2010-06-19 00:49:46 +00:00
davidsarah reopened this issue 2010-06-19 00:49:46 +00:00
davidsarah commented 2010-06-19 00:52:37 +00:00
Author
Owner

Attachment servers-of-happiness-doc.dpatch (56519 bytes) added

configuration.txt and servers-of-happiness.txt: 1 <= happy <= N, not k <= happy <= N. Also minor wording changes.

**Attachment** servers-of-happiness-doc.dpatch (56519 bytes) added configuration.txt and servers-of-happiness.txt: 1 <= happy <= N, not k <= happy <= N. Also minor wording changes.
davidsarah commented 2010-06-19 03:04:39 +00:00
Author
Owner

servers-of-happiness-doc.dpatch applied in changeset:a92a23fe343862f2.

servers-of-happiness-doc.dpatch applied in changeset:a92a23fe343862f2.
tahoe-lafs added the
fixed
label 2010-06-19 03:04:39 +00:00
davidsarah closed this issue 2010-06-19 03:04:39 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
2 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#911
No description provided.