Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-616

Reset Fetch Retry counter when fetch is successful

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.0
    • 1.0.0
    • None
    • None
    • Patch Available

    Description

      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.

      Attachments

        1. NUTCH-616.patch
          2 kB
          Emmanuel Joke
        2. NUTCH-616-v2.patch
          9 kB
          Andrzej Bialecki

        Activity

          People

            ab Andrzej Bialecki
            jokeout Emmanuel Joke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: