Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-1030

markRobotsByIP doesn't remove isBot:false records

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Accepted / Claimed (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.7.2
    • Fix Version/s: None
    • Component/s: Solr
    • Labels:
      None
    • Attachments:
      0
    • Comments:
      4
    • Documentation Status:
      Needed

      Description

      The expectation based on docs is that /dspace/bin/dspace stats-util -m would update isBot:false records to isBot:true (based on IPs in spider configs).

      It appears to instead create duplicate records with the isBot:true. So we end up with all of the original isBot:false records, plus an equal number of new isBot:true records. I think it's just missing a delete query at the end to clear the old records matching IPs with isBot:false.

        Attachments

          Activity

            People

            Assignee:
            peterdietz Peter Dietz
            Reporter:
            dishimitsu Dan Ishimitsu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: