[Koha-bugs] [Bug 18948] Elasticsearch - Reindexes should use aliases to avoid down time while reindexing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 17 22:26:43 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18948

--- Comment #1 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 65086
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65086&action=edit
Bug 18948 - Elasticsearch - Reindexes should use aliases to avoid down time
while reindexing

To test:
1  - Delete your current indices for ES (if any)
2  - Reindex your records
3  - curl -XGET 'localhost:9200/koha_kohadev?pretty'
4  - Note indices are now of form koha_kohadev_##########
5  - The numbers there are a result of appending 'time' command to name
6  - Ensure searching works as before the patches
7  - Reindex your records with a commit setting of 1 (to slow things
        down) you may need a large numebr fo records
8  - Ensure searching works during reindex
9  - Ensure reindexing completes successfully
10 - curl -XGET 'localhost:9200/koha_kohadev?pretty'
11 - There should only be one index each for biblios and authorities
** - Note number in above
12 - Perform a partial reindex by passing a biblionumber to the command
13 - Curl the indices again and ensure number/name has not changed

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list