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

CrawlDatum.set just reference a mapWritable of a other object but not copy it.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.8
    • 0.8
    • None
    • None

    Description

      Using CrawlDatum.set(aOtherCrawlDatum) copies the data from one CrawlDatum to a other.
      Also a reference of the MapWritable is passed. Means both project share the same mapWritable and its content.
      This causes problems with concurent manipulate mapWritables and its key-value tuples.

      Attachments

        1. MapWritableCopyConstructor.patch
          2 kB
          Stefan Groschupf

        Activity

          People

            ab Andrzej Bialecki
            joa23 Stefan Groschupf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: