You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Andrzej Bialecki (JIRA)" <ji...@apache.org> on 2008/03/14 14:27:24 UTC

[jira] Updated: (NUTCH-616) Reset Fetch Retry counter when fetch is successful

     [ https://issues.apache.org/jira/browse/NUTCH-616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrzej Bialecki  updated NUTCH-616:
------------------------------------

    Attachment: NUTCH-616-v2.patch

This patch uses FetchSchedule to maintain the counter.

> Reset Fetch Retry counter when fetch is successful
> --------------------------------------------------
>
>                 Key: NUTCH-616
>                 URL: https://issues.apache.org/jira/browse/NUTCH-616
>             Project: Nutch
>          Issue Type: Bug
>    Affects Versions: 1.0.0
>            Reporter: Emmanuel Joke
>             Fix For: 1.0.0
>
>         Attachments: NUTCH-616-v2.patch, NUTCH-616.patch
>
>
> We manage a counter to check how many time the URL has been consecutively in state Retry following some trouble to get the page.
> Here is a sample of the code:
> case ProtocolStatus.RETRY:          // retry
>                  fit.datum.setRetriesSinceFetch(fit.datum.getRetriesSinceFetch()+1);
>  
>  However i notice that we don't reinitialize this counter at 0 in the case of successful fetch.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.