Create a specification for the servers of happiness behavior #911
Labels
No Label
0.2.0
0.3.0
0.4.0
0.5.0
0.5.1
0.6.0
0.6.1
0.7.0
0.8.0
0.9.0
1.0.0
1.1.0
1.10.0
1.10.1
1.10.2
1.10a2
1.11.0
1.12.0
1.12.1
1.13.0
1.14.0
1.15.0
1.15.1
1.2.0
1.3.0
1.4.1
1.5.0
1.6.0
1.6.1
1.7.0
1.7.1
1.7β
1.8.0
1.8.1
1.8.2
1.8.3
1.8β
1.9.0
1.9.0-s3branch
1.9.0a1
1.9.0a2
1.9.0b1
1.9.1
1.9.2
1.9.2a1
LeastAuthority.com automation
blocker
cannot reproduce
cloud-branch
code
code-dirnodes
code-encoding
code-frontend
code-frontend-cli
code-frontend-ftp-sftp
code-frontend-magic-folder
code-frontend-web
code-mutable
code-network
code-nodeadmin
code-peerselection
code-storage
contrib
critical
defect
dev-infrastructure
documentation
duplicate
enhancement
fixed
invalid
major
minor
n/a
normal
operational
packaging
somebody else's problem
supercritical
task
trivial
unknown
was already fixed
website
wontfix
worksforme
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Reference: tahoe-lafs/trac-2024-07-25#911
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
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.
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.
I'm planning on having whichever approach we want to go with done by 1.7.0 final.
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?
Attachment 911.darcspatch.txt (19061 bytes) added
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!
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.
servers-of-happiness-doc.dpatch applied in changeset:a92a23fe343862f2.