add legend to Recent Uploads and Downloads page, explain LIT #1462

Open
opened 2011-08-01 21:34:11 +00:00 by T_X · 6 comments
Owner

When I download a file from a directory on tahoe-lafs via 'tahoe get', then I only get "retrieve" and "mapupdate" entries on the "Recent Uploads and Download" page. I'm having this issue in a simple setup within one VM host, one node dedicated as a storage node, one as a dedicated gateway node.

Could be related to #1079.

Example "Recent Uploads and Download" page output:

    Recent Operations:
    Started         Type    Storage Index   Helper?         Total Size      Progress        Status
    05:49:35 01-Aug-2011    retrieve        zb24cwlnpwynz7dtqszava76cm      No      206B    100.0%  Finished
    05:49:25 01-Aug-2011    mapupdate MODE_READ     zb24cwlnpwynz7dtqszava76cm      No      -NA-    100.0%  Finished
    05:49:23 01-Aug-2011    retrieve        zb24cwlnpwynz7dtqszava76cm      No      206B    100.0%  Finished
    05:49:12 01-Aug-2011    mapupdate MODE_READ     zb24cwlnpwynz7dtqszava76cm      No      -NA-    100.0%  Finished
    05:49:11 01-Aug-2011    retrieve        zb24cwlnpwynz7dtqszava76cm      No      206B    100.0%  Finished
    05:49:00 01-Aug-2011    mapupdate MODE_READ     zb24cwlnpwynz7dtqszava76cm      No      -NA-    100.0%  Finished
    05:48:58 01-Aug-2011    retrieve        zb24cwlnpwynz7dtqszava76cm      No      206B    100.0%  Finished
    05:48:48 01-Aug-2011    mapupdate MODE_READ     zb24cwlnpwynz7dtqszava76cm      No      -NA-    100.0%  Finished
    05:48:46 01-Aug-2011    retrieve        zb24cwlnpwynz7dtqszava76cm      No      206B    100.0%  Finished
    05:48:35 01-Aug-2011    mapupdate MODE_READ     zb24cwlnpwynz7dtqszava76cm      No      -NA-    100.0%  Finished
    05:48:34 01-Aug-2011    retrieve        zb24cwlnpwynz7dtqszava76cm      No      206B    100.0%  Finished
    05:48:23 01-Aug-2011    mapupdate MODE_READ     zb24cwlnpwynz7dtqszava76cm      No      -NA-    100.0%  Finished
    05:48:21 01-Aug-2011    retrieve        zb24cwlnpwynz7dtqszava76cm      No      206B    100.0%  Finished
    05:48:11 01-Aug-2011    mapupdate MODE_READ     zb24cwlnpwynz7dtqszava76cm      No      -NA-    100.0%  Finished
    05:48:09 01-Aug-2011    retrieve        zb24cwlnpwynz7dtqszava76cm      No      206B    100.0%  Finished
    05:47:58 01-Aug-2011    mapupdate MODE_READ     zb24cwlnpwynz7dtqszava76cm      No      -NA-    100.0%  Finished
    05:47:56 01-Aug-2011    retrieve        zb24cwlnpwynz7dtqszava76cm      No      206B    100.0%  Finished
    05:47:46 01-Aug-2011    mapupdate MODE_READ     zb24cwlnpwynz7dtqszava76cm      No      -NA-    100.0%  Finished
    05:47:44 01-Aug-2011    retrieve        zb24cwlnpwynz7dtqszava76cm      No      206B    100.0%  Finished
    05:47:43 01-Aug-2011    mapupdate MODE_READ     zb24cwlnpwynz7dtqszava76cm      No      -NA-    100.0%  Finished
    05:47:32 01-Aug-2011    retrieve        zb24cwlnpwynz7dtqszava76cm      No      206B    100.0%  Finished
    05:47:32 01-Aug-2011    mapupdate MODE_READ     zb24cwlnpwynz7dtqszava76cm      No      -NA-    100.0%  Finished
When I download a file from a directory on tahoe-lafs via 'tahoe get', then I only get "retrieve" and "mapupdate" entries on the "Recent Uploads and Download" page. I'm having this issue in a simple setup within one VM host, one node dedicated as a storage node, one as a dedicated gateway node. Could be related to #1079. Example "Recent Uploads and Download" page output: ``` Recent Operations: Started Type Storage Index Helper? Total Size Progress Status 05:49:35 01-Aug-2011 retrieve zb24cwlnpwynz7dtqszava76cm No 206B 100.0% Finished 05:49:25 01-Aug-2011 mapupdate MODE_READ zb24cwlnpwynz7dtqszava76cm No -NA- 100.0% Finished 05:49:23 01-Aug-2011 retrieve zb24cwlnpwynz7dtqszava76cm No 206B 100.0% Finished 05:49:12 01-Aug-2011 mapupdate MODE_READ zb24cwlnpwynz7dtqszava76cm No -NA- 100.0% Finished 05:49:11 01-Aug-2011 retrieve zb24cwlnpwynz7dtqszava76cm No 206B 100.0% Finished 05:49:00 01-Aug-2011 mapupdate MODE_READ zb24cwlnpwynz7dtqszava76cm No -NA- 100.0% Finished 05:48:58 01-Aug-2011 retrieve zb24cwlnpwynz7dtqszava76cm No 206B 100.0% Finished 05:48:48 01-Aug-2011 mapupdate MODE_READ zb24cwlnpwynz7dtqszava76cm No -NA- 100.0% Finished 05:48:46 01-Aug-2011 retrieve zb24cwlnpwynz7dtqszava76cm No 206B 100.0% Finished 05:48:35 01-Aug-2011 mapupdate MODE_READ zb24cwlnpwynz7dtqszava76cm No -NA- 100.0% Finished 05:48:34 01-Aug-2011 retrieve zb24cwlnpwynz7dtqszava76cm No 206B 100.0% Finished 05:48:23 01-Aug-2011 mapupdate MODE_READ zb24cwlnpwynz7dtqszava76cm No -NA- 100.0% Finished 05:48:21 01-Aug-2011 retrieve zb24cwlnpwynz7dtqszava76cm No 206B 100.0% Finished 05:48:11 01-Aug-2011 mapupdate MODE_READ zb24cwlnpwynz7dtqszava76cm No -NA- 100.0% Finished 05:48:09 01-Aug-2011 retrieve zb24cwlnpwynz7dtqszava76cm No 206B 100.0% Finished 05:47:58 01-Aug-2011 mapupdate MODE_READ zb24cwlnpwynz7dtqszava76cm No -NA- 100.0% Finished 05:47:56 01-Aug-2011 retrieve zb24cwlnpwynz7dtqszava76cm No 206B 100.0% Finished 05:47:46 01-Aug-2011 mapupdate MODE_READ zb24cwlnpwynz7dtqszava76cm No -NA- 100.0% Finished 05:47:44 01-Aug-2011 retrieve zb24cwlnpwynz7dtqszava76cm No 206B 100.0% Finished 05:47:43 01-Aug-2011 mapupdate MODE_READ zb24cwlnpwynz7dtqszava76cm No -NA- 100.0% Finished 05:47:32 01-Aug-2011 retrieve zb24cwlnpwynz7dtqszava76cm No 206B 100.0% Finished 05:47:32 01-Aug-2011 mapupdate MODE_READ zb24cwlnpwynz7dtqszava76cm No -NA- 100.0% Finished ```
tahoe-lafs added the
code-frontend
major
defect
1.8.2
labels 2011-08-01 21:34:11 +00:00
tahoe-lafs added this to the undecided milestone 2011-08-01 21:34:11 +00:00
zooko commented 2011-08-04 18:23:28 +00:00
Author
Owner

Is it a mutable or immutable file that you are downloading from the directory?

Is it a mutable or immutable file that you are downloading from the directory?
tahoe-lafs added
critical
and removed
major
labels 2011-08-04 18:23:28 +00:00
Author
Owner
$ ./tahoe list-aliases -d ~/.tahoe-2
> tahoe: URI:DIR2:...

And as I'm always using the alias 'tahoe' for any 'tahoe put' or 'tahoe get', I guess it's a mutable directory/file.

``` $ ./tahoe list-aliases -d ~/.tahoe-2 > tahoe: URI:DIR2:... ``` And as I'm always using the alias 'tahoe' for any 'tahoe put' or 'tahoe get', I guess it's a mutable directory/file.
Author
Owner

Okay, after the IRC discussion the download entry now appears on the status page. It turned out that I was "uploading" a very small file (19B) only with a LIT capability. So previously the 'tahoe put' returned:

200 OK
URI:LIT:...

Now with a slightly larger file (95B) I get the following response and the download is listed on the web page as expected:

200 OK
URI:CHK:...

I didn't know or expect that very small files would be treated differently somehow - or that if so this would be transparent to the user :).

Okay, after the IRC discussion the download entry now appears on the status page. It turned out that I was "uploading" a very small file (19B) only with a LIT capability. So previously the 'tahoe put' returned: ``` 200 OK URI:LIT:... ``` Now with a slightly larger file (95B) I get the following response and the download is listed on the web page as expected: ``` 200 OK URI:CHK:... ``` I didn't know or expect that very small files would be treated differently somehow - or that if so this would be transparent to the user :).
zooko commented 2011-08-08 21:09:50 +00:00
Author
Owner

So I guess the solution to close this ticket is to add a legend and "help text" or a hyperlink to a document so that users can discover and learn what the "Recent Uploads and Downloads" page really shows.

So I guess the solution to close this ticket is to add a legend and "help text" or a hyperlink to a document so that users can discover and learn what the "Recent Uploads and Downloads" page really shows.
tahoe-lafs added
major
and removed
critical
labels 2011-08-08 21:09:50 +00:00
warner commented 2011-08-09 05:19:15 +00:00
Author
Owner

updating title to match, and recording some thoughts..

I can't decide if I want the legend to be between the "current ops" and "recent ops" sections, or at the bottom after "recent ops". It should probably be in a smaller font. I don't want to have to scroll down to see the first 4 or 5 items in the list. It should probably teach the following lessons:

  • immutable files are marked as "upload" (copied into grid to servers) and "download" (copied from grid from servers)
  • reading a mutable file does a "mapupdate MODE_READ" followed by a "retrieve"
  • creating a new mutable file does a "publish"
  • modifying an existing mutable file does a "mapupdate MODE_WRITE", then a "retrieve", then a "publish"
  • small immutable files (below about 65 bytes) are stored as LIT filecaps and do not appear on this list at all
  • directories are usually stored in mutable files, so directory changes will appear as mutable-file modifications
updating title to match, and recording some thoughts.. I can't decide if I want the legend to be between the "current ops" and "recent ops" sections, or at the bottom after "recent ops". It should probably be in a smaller font. I don't want to have to scroll down to see the first 4 or 5 items in the list. It should probably teach the following lessons: * immutable files are marked as "upload" (copied into grid to servers) and "download" (copied from grid from servers) * reading a mutable file does a "mapupdate MODE_READ" followed by a "retrieve" * creating a new mutable file does a "publish" * modifying an existing mutable file does a "mapupdate MODE_WRITE", then a "retrieve", then a "publish" * small immutable files (below about 65 bytes) are stored as LIT filecaps and do not appear on this list at all * directories are usually stored in mutable files, so directory changes will appear as mutable-file modifications
tahoe-lafs changed title from download of file into dir doesn't appear on Recent Uploads and Download to add legend to Recent Uploads and Downloads page, explain LIT 2011-08-09 05:19:15 +00:00
davidsarah commented 2011-08-12 15:56:10 +00:00
Author
Owner

If the legend is at the bottom, there should be an intra-page link to it at the top.

If the legend is at the bottom, there should be an intra-page link to it at the top.
tahoe-lafs modified the milestone from undecided to soon 2011-08-26 21:27:08 +00:00
tahoe-lafs added
code-frontend-web
and removed
code-frontend
labels 2014-12-02 19:47:50 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

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