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

MergeDB incorrectly handles unfetched CrawlDatums

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.14
    • Fix Version/s: 1.15
    • Component/s: crawldb
    • Labels:
      None
    • Patch Info:
      Patch Available
    • Flags:
      Patch

      Description

      I ran into this issue when merging a crawlDB originating from sitemaps into our normal crawlDB. CrawlDatums are merged based on output of AbstractFetchSchedule::calculateLastFetchTime(). When CrawlDatums are unfetched, this can overwrite fetchTime or other stuff.

      I assume this is a bug and have a simple fix for it that checks if CrawlDatum has status db_unfetched.

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jurian Jurian Broertjes
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: