Error in Latency Report on MDMF Retrieve #1505
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
3 Participants
Notifications
Due Date
No due date set.
Reference: tahoe-lafs/trac-2024-07-25#1505
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?
I viewed a write cap to a MDMF, with an associated 8MB file, in the WUI. The retrieve operation reported a 41 year latency in Per-Server Fetch Response Times. All servers were running on the same machine. (My laptop.)
Attachment response_time_error.html (3197 bytes) added
This specific issue is due to a bug around line 806 of
retrieve.py
:started
is the time at which the fetch was started.RetrieveStatus.add_fetch_timing
wants the elapsed time, though, so what we really want istime.time() - started
. I'll attach a patch with this change.While investigating this bug, I noticed several other rough spots in how the retrieve process interacts with its status object. In particular,
Retrieve.__init__
, then never touched again, so it says 0.0% even though the retrieve is finished.It's easy enough to be attentive about updating the status and progress fields. We can measure cumulative decryption and decoding time to address the second point; this requires minor modifications to the retrieve code and status code, and a wording tweak on the status template.
(Do these issues deserve their own ticket? I'll open one if so.)
Replying to kevan:
I don't think so, this one is short enough.
I've been in a fix-everything-in-sight mood this weekend, so I took care of this one in changeset:9756146d61673552.
hm, not sure why the auto-closer didn't notice the comment in changeset:9756146d61673552. Closing it manually.
Replying to warner:
I think the action name ("fixes") is case-sensitive, so didn't match "Fixes". Code here.