mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #25665
[Bug 1422232] A change has been merged
Reviewed: https://reviews.mahara.org/4647
Committed: http://gitorious.org/mahara/mahara/commit/f8b90169c50de2e6264d647cef8833c045fe08cc
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch: 15.04_STABLE
commit f8b90169c50de2e6264d647cef8833c045fe08cc
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
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 <robertl@xxxxxxxxxxxxxxx>
--
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:
Fix Committed
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:
Fix Committed
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
References