Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-14024

indexcontent cron job might skip indexing of updated objects

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Medium Medium
    • None
    • 4.0.1
    • Cronjobs, Search
    • None

    Description

      Suppose the indexcontent.php cron job has started running, and found an object with id X at the beginning of the first batch of 50 pending index actions. It has been indexed and now the other remaining index actions of the first batch of 50 are being handled.

      In the meantime, the object with id X is being modified and published again. A new pending index action is created.

      The cron job finishes the first batch of 50 index jobs and removes them from the database based solely on their param and action. So the new pending action gets removed as well.

      The search index now does not reflect the current content of object with id X.

      I think part of the solution to this problem is using time stamps in pending actions, see enhancement request #13965.

      Attachments

        Activity

          People

            unknown unknown
            cyberwolf cyberwolf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: