You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Emmanuel Joke (JIRA)" <ji...@apache.org> on 2008/02/26 18:26:51 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 ]
Emmanuel Joke updated NUTCH-616:
--------------------------------
Attachment: NUTCH-616.patch
Patch provided
> 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.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.