[tahoe-lafs-trac-stream] [tahoe-lafs] #1821: show full, explorable details about check and repair operations

tahoe-lafs trac at tahoe-lafs.org
Thu Dec 5 16:56:08 UTC 2013


#1821: show full, explorable details about check and repair operations
-------------------------+-------------------------------------------------
     Reporter:  zooko    |      Owner:
         Type:           |     Status:  new
  enhancement            |  Milestone:  eventually
     Priority:  normal   |    Version:  1.9.2
    Component:  code-    |   Keywords:  usability transparency ostrom
  frontend-web           |  statistics repair
   Resolution:           |
Launchpad Bug:           |
-------------------------+-------------------------------------------------

Old description:

> {{{
> On Mon, Jul 9, 2012 at 10:39 AM, Brad Rupp <bradrupp at gmail.com> wrote:
> >
> > The output from repair #1:
> >
> > repair successful
> > done: 11801 objects checked
> >  pre-repair: 11725 healthy, 76 unhealthy
> >  76 repairs attempted, 76 successful, 0 failed
> >  post-repair: 11801 healthy, 0 unhealthy
> >
> > The output from repair #2:
> >
> > done: 11801 objects checked
> >  pre-repair: 11789 healthy, 12 unhealthy
> >  12 repairs attempted, 11 successful, 1 failed
> >  post-repair: 11800 healthy, 1 unhealthy
> >
> > As you can see, the first repair found and fixed 76 unhealthy objects.
> The
> > second repair, approximately 12 hours later, found 12 unhealthy objects
> and
> > fixed 11 of them.
> >
> > Why would the second repair find 12 unhealthy objects?  I would have
> > expected it to find 0 unhealthy objects given that the first repair was
> > performed only 12 hours earlier.
> }}}
>
> Wouldn't it be great if the text that said "12 repairs attempted, 11
> successful, 1 failed" had hyperlinks to web pages that listed all of the
> repair attempts, where you could see which file was not healthy, which
> servers the repair job attempted to use to repair the file, and what
> happened with each server that led to success or failure?
>
> Providing such a web page would mostly just be a matter of "web
> programming" -- generating HTML that shows the contents of the Python
> objects in memory which contain that data.
>
> [source:git/src/allmydata/web/check-and-repair-
> results.xhtml?annotate=blame&rev=054374400e28cb0027285b031dda24ffe494c3e8
> check-and-repair-results.xhtml]
>
> [source:git/src/allmydata/web/deep-check-and-repair-
> results.xhtml?annotate=blame&rev=054374400e28cb0027285b031dda24ffe494c3e8
> deep-check-and-repair-results.xhtml]
>
> [source:git/src/allmydata/web/upload-
> results.xhtml?annotate=blame&rev=e60982c851adf2de23b4d6463703e7ea4e4388c7
> upload-results.xhtml]
>
> [source:git/src/allmydata/web/publish-
> status.xhtml?annotate=blame&rev=518e4cec984ed967154949091e3c7a87abac5060
> publish-status.xhtml]
>
> Here's the data stored in Python objects in memory:
>
> [source:git/src/allmydata/check_results.py?annotate=blame&rev=188c7fecf5d2e62d8dcfbff0791fe1125def971b
> check_results.py]
>
> See [//pipermail/tahoe-dev/2012-July/007544.html this thread on the
> tahoe-dev list].

New description:

 {{{
 On Mon, Jul 9, 2012 at 10:39 AM, Brad Rupp <bradrupp at gmail.com> wrote:
 >
 > The output from repair #1:
 >
 > repair successful
 > done: 11801 objects checked
 >  pre-repair: 11725 healthy, 76 unhealthy
 >  76 repairs attempted, 76 successful, 0 failed
 >  post-repair: 11801 healthy, 0 unhealthy
 >
 > The output from repair #2:
 >
 > done: 11801 objects checked
 >  pre-repair: 11789 healthy, 12 unhealthy
 >  12 repairs attempted, 11 successful, 1 failed
 >  post-repair: 11800 healthy, 1 unhealthy
 >
 > As you can see, the first repair found and fixed 76 unhealthy objects.
 The
 > second repair, approximately 12 hours later, found 12 unhealthy objects
 and
 > fixed 11 of them.
 >
 > Why would the second repair find 12 unhealthy objects?  I would have
 > expected it to find 0 unhealthy objects given that the first repair was
 > performed only 12 hours earlier.
 }}}

 Wouldn't it be great if the text that said "12 repairs attempted, 11
 successful, 1 failed" had hyperlinks to web pages that listed all of the
 repair attempts, where you could see which file was not healthy, which
 servers the repair job attempted to use to repair the file, and what
 happened with each server that led to success or failure?

 Providing such a web page would mostly just be a matter of "web
 programming" -- generating HTML that shows the contents of the Python
 objects in memory which contain that data.

 [source:git/src/allmydata/web/check-and-repair-
 results.xhtml?annotate=blame&rev=054374400e28cb0027285b031dda24ffe494c3e8
 check-and-repair-results.xhtml]

 [source:git/src/allmydata/web/deep-check-and-repair-
 results.xhtml?annotate=blame&rev=054374400e28cb0027285b031dda24ffe494c3e8
 deep-check-and-repair-results.xhtml]

 [source:git/src/allmydata/web/upload-
 results.xhtml?annotate=blame&rev=e60982c851adf2de23b4d6463703e7ea4e4388c7
 upload-results.xhtml]

 [source:git/src/allmydata/web/publish-
 status.xhtml?annotate=blame&rev=518e4cec984ed967154949091e3c7a87abac5060
 publish-status.xhtml]

 Here's the data stored in Python objects in memory:

 [source:git/src/allmydata/check_results.py?annotate=blame&rev=188c7fecf5d2e62d8dcfbff0791fe1125def971b
 check_results.py]

 See [//pipermail/tahoe-dev/2012-July/007544.html this thread on the tahoe-
 dev list].

--

Comment (by zooko):

 related tickets: #1596, #1116, #2101, #2130

-- 
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1821#comment:5>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list