biothings / biothings_studio

Pre-configured & ready-to-use BioThings API development environment
Apache License 2.0
4 stars 3 forks source link

Studio - Add 'Resume' button to resume an interrupted indexing job #51

Open ravila4 opened 3 years ago

ravila4 commented 3 years ago

I was recently creating a release in the 'Build' tab of the Studio, and the indexing step failed when my ElasticSearch became disconnected. When I tried creating a new indexing job from the GUI, I saw the message:

ERR {0.18s} index(indexer_env='local',target_name='mygeneset_20210127_jox8gtpg',index_name='mygeneset_current'): finished ["Index already 'mygeneset_current' exists, (use mode='purge' to auto-delete it or mode='resume' to add more documents)"]

I was able to resume the job from the commandline using the suggested mode=resume, but I think it would be more user friendly if there was a button somewhere on the GUI for resuming a failed indexing job.