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

Catch error on admin ES reindex

    XMLWordPrintableJSON

Details

    • Task
    • Status: Done
    • Normal
    • Resolution: Fixed
    • None
    • Old Issues
    • None
    • None

    Description

      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

      Gliffy Diagrams

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Tasks