Moodle
  1. Moodle
  2. MDL-18672

global serach may break cron execution

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.4
    • Fix Version/s: 1.9.5
    • Component/s: Global search
    • Labels:
      None
    • Environment:
      Red Hat Enterprise 5 64bit, PHP 5.2.9. php memory limit 128MB
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_19_STABLE
    • Rank:
      31451

      Description

      When global search is enabled, cron execution in RHEL5 64bit is stopped with the following output:

      ...omissis....
      Processing cron function for rss_client....
      0 feeds refreshed (took 0.003565 seconds)
      done.
      Processing cron function for search....
      -DELETE---
      cron script completed

      Disabling the global search cron is not stopped anymore:

      ...omissis...
      Processing cron function for rss_client....
      0 feeds refreshed (took 0.0036929999999999 seconds)
      done.
      Processing cron function for search....Global searching is not enabled. Nothing performed by search.
      done.
      Finished blocks
      Starting admin reports
      Finished admin reports
      Updating languages cache
      Removing expired enrolments ...none found
      Starting main gradebook job ...
      done.
      ...omissis...
      Cron script completed correctly
      Execution took 0.220487 seconds
      cron script completed.

      In the global search, index has been created manually, so there should be no concerns for Lucene to stop execution due to missing indexes.

        Activity

        Hide
        Valery Fremaux added a comment -

        Ouh !! A complete misreading of MDL-18474 on a too small screen rendering !! Brought up to a bad fix !!

        Fixed now !

        Show
        Valery Fremaux added a comment - Ouh !! A complete misreading of MDL-18474 on a too small screen rendering !! Brought up to a bad fix !! Fixed now !
        Hide
        Petr Škoda added a comment -

        closing, thanks

        Show
        Petr Škoda added a comment - closing, thanks

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: