[OPT-187] I can reimport all workflow data without downtime of the optimize functionality Created: 28/Feb/17  Updated: 18/Apr/19  Resolved: 17/Jul/18

Status: Done
Project: Camunda Optimize
Component/s: backend
Affects Version/s: None
Fix Version/s: 2.2.0-alpha1, 2.2.0

Type: Feature Request Priority: L3 - Default
Reporter: Askar Akhmerov Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
depends on OPT-229 I can delete the elasticsearch optimi... Done



  • given:
    • Elasticsearch, Optimze, and the engine are up runnning
    • The import of the workflow data was completed
  • when
    • a new Optimize version is up and I update Optimze
  • then
    • the old data will be removed
    • data is imported anew
    • I am able to work with old data as long as the import is not finished such that there is no downtime

take a look at https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-aliases.html, the main ide is to create ne optimize index on every reindexing round and once it's done, associate optimize alias with it. Which will allow not to loose data during reimport process

Comment by Johannes Heinemann [ 10/Mar/17 ]

Updated the description so it is clear what this ticket is about

Comment by Johannes Heinemann [ 17/Jul/18 ]

Since we don't throw away the data after an upgrade, we don't need to do this anymore.

Generated at Sun Jul 21 10:39:34 CEST 2019 using JIRA 6.4.6#64021-sha1:33e5b454af4594f54560ac233c30a6e00459507e.