Uploaded image for project: 'Hibernate Search'
  1. HSEARCH-2934

Pending Elasticsearch streamed works may fail when stopping Hibernate Search and using the drop-and-create-and-drop strategy

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.8.2.Final
    • Fix Version/s: 5.9.0.Beta1
    • Component/s: backend-elasticsearch
    • Labels:
      None

      Description

      Currently, we only wait for those works to finish when closing the ElasticsearchService, which I think happens after the index managers have been closed.
      Since the index managers are responsible for dropping the indexes if necessary, this can result in very strange behavior: async works failing because the index doesn't exist anymore.

      Setting the priority to "minor" since the "drop-and-create-and-drop" strategy is not likely to be used for anything else than tests.

        Attachments

          Activity

            People

            • Assignee:
              yrodiere Yoann Rodière
              Reporter:
              yrodiere Yoann Rodière
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: