Uploaded image for project: 'Clowder'
  1. Clowder
  2. CATS-856

Catch error on admin ES reindex

XMLWordPrintableJSON

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Normal Normal
    • Old Issues
    • None
    • None
    • None

      When calling api/reindex endpoint to reindex Elasticsearch, this will fail if another source (e.g. second clowder instance) creates index between the deletion and recreation of index by endpoint.

      reindex function should catch such errors and proceed happily even if index was created elsewhere.

      https://opensource.ncsa.illinois.edu/bitbucket/projects/CATS/repos/clowder/browse/app/services/ElasticsearchPlugin.scala#215

              mburnet2 Maxwell Burnette
              mburnet2 Maxwell Burnette
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: