When checking elasticsearch status we need to check on a specified index

Bug #1714100 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Robert Lyon

Bug Description

As the elasticsearch server can have some indexes all fine (green) and some not fine (yellow)

The check that we do via elasticsearch_server('shardallocation') needs to take into consideration which index we want to check

Robert Lyon (robertl-9)
Changed in mahara:
milestone: none → 17.10.0
assignee: nobody → Robert Lyon (robertl-9)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/7959

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/7959
Committed: https://git.mahara.org/mahara/mahara/commit/b186169809f984b25addef9b455bb6fe8fee8fe4
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit b186169809f984b25addef9b455bb6fe8fee8fe4
Author: Robert Lyon <email address hidden>
Date: Thu Aug 31 10:12:53 2017 +1200

Bug 1714100: Check the status of current elasticsearch index

Because the cluster can be giving a 'yellow' warning but the index
this particular site uses might be 'green' and therefore working as
expected

behatnotneeded

Change-Id: I9d38a4696cee777d4c20f368be917f22c3dde3d8
Signed-off-by: Robert Lyon <email address hidden>

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/8092

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/8092
Committed: https://git.mahara.org/mahara/mahara/commit/fc8036dac01bfe9717bd8ee271afdc1d8c49c280
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit fc8036dac01bfe9717bd8ee271afdc1d8c49c280
Author: Cecilia Vela Gurovic <email address hidden>
Date: Thu Oct 5 11:20:18 2017 +1300

Bug 1720269: old_raw patches for bugs: (elasticsearch)

Bug 1714100
Bug 1694171

behatnotneeded

Change-Id: I21062124b6e1c260f1b17691d22da7af00c74716

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "17.10_STABLE" branch: https://reviews.mahara.org/8102

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/8102
Committed: https://git.mahara.org/mahara/mahara/commit/538c9d386f06c70ea26a851eb0ddc39d69dd492d
Submitter: Robert Lyon (<email address hidden>)
Branch: 17.10_STABLE

commit 538c9d386f06c70ea26a851eb0ddc39d69dd492d
Author: Cecilia Vela Gurovic <email address hidden>
Date: Thu Oct 5 11:20:18 2017 +1300

Bug 1720269: old_raw patches for bugs: (elasticsearch)

Bug 1714100
Bug 1694171

behatnotneeded

Change-Id: I21062124b6e1c260f1b17691d22da7af00c74716
(cherry picked from commit fc8036dac01bfe9717bd8ee271afdc1d8c49c280)

Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.