storage servers should announce that they support over-read #596
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#596
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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?
Since changeset:6c4019ec33e7a253, storage servers have responded to an over-read (a read past the end of the data) by returning the valid span (up to the end of the data). Before that they raised an exception on over-read. Clients could use over-read for faster and nicer immutable file download, and the code to do so is in place in download.py and was tested, but is currently disabled. This ticket is to make storage servers announce that they support over-read by adding a field to their version structure -- [src/allmydata/storage.py@3405#L957]source:src/allmydata/storage.py@20090110015222-e01fd-2a38c9d081c07fc2a33f95101e07ec8fb69d5c46#L957. This would enable clients to use over-reads on servers that had declared themselves as supporting it.
I'm planning to do this for tahoe-1.3.0 if Brian (or someone) doesn't beat me to it.
I'll grab this one. Patch is in changeset:7cfc74bcc99d04be.
For future reference, changeset:0eb6b324a4fcda2f (on 21-Nov-2008) added
version-announcement to the storage server, and changeset:53b28c1650c74624 (on 03-Jan-2009) added
the over-read tolerance.
The boolean flag I'm adding is named "tolerates-immutable-read-overrun", so
client code should do the following:
I've updated VERSION_DEFAULTS, so modern clients will see the following
values for
get("tolerates-immutable-read-overrun")
: