Reviewed:  https://reviews.mahara.org/4650
Committed: 
http://gitorious.org/mahara/mahara/commit/2901622e9f36a5c38f3e96c6ccc62ae0d0d7b67d
Submitter: Robert Lyon (robe...@catalyst.net.nz)
Branch:    1.8_STABLE

commit 2901622e9f36a5c38f3e96c6ccc62ae0d0d7b67d
Author: Robert Lyon <robe...@catalyst.net.nz>
Date:   Tue Feb 17 08:11:51 2015 +1300

Stopping the elasticsearch cron running at same time as reset index

Bug #1422232

Change-Id: Ia8fd7d074db3be027e1318a07d062a9ed1bb2ad8
Signed-off-by: Robert Lyon <robe...@catalyst.net.nz>

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask 
on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1422232

Title:
  elasticsearch - reset and indexing

Status in Mahara ePortfolio:
  In Progress
Status in Mahara 1.10 series:
  Fix Committed
Status in Mahara 1.8 series:
  Fix Committed
Status in Mahara 1.9 series:
  Fix Committed
Status in Mahara 15.04 series:
  In Progress

Bug description:
  When one resets the index via extensions -> elasticsearch
  configuration form part of the process is to index the elasticsearch

  If the site is large the 'Cron record limit' value should be set so
  that not too much of the queue is slurped up to be handled at one
  time.

  One thing I noticed from doing some tests was that when I hit reset
  index button it goes off and does it's thing which calls the
  index_queued_items() to index some items but then the cron rolls
  around and calls it too.

  When we hit reset index we should set the cron flag to stop cron from
  doing the indexing at same time and unset the flag once the reindex
  step is done by the form.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1422232/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to