[hibernate-commits] [hibernate/hibernate-search] 95b796: HSEARCH-2837 Clarify errors when interrupted durin...

GitHub noreply at github.com
Wed Aug 9 10:24:29 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/hibernate/hibernate-search
  Commit: 95b796b88b550a31a218d8940e059dc036315c9c
      https://github.com/hibernate/hibernate-search/commit/95b796b88b550a31a218d8940e059dc036315c9c
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2017-08-09 (Wed, 09 Aug 2017)

  Changed paths:
    M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/logging/impl/Log.java
    M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/processor/impl/BatchingSharedElasticsearchWorkOrchestrator.java

  Log Message:
  -----------
  HSEARCH-2837 Clarify errors when interrupted during submission of work to the ES client

 * Include the orchestrator name in the error message
 * Do not use the interrupted exception as a cause in the
SearchException, for the sake of brevity
 * And while we're at it, create the exception using the JBoss logger.


  Commit: 91df954af1836d1d5e3b708540530fd2f3c22f4a
      https://github.com/hibernate/hibernate-search/commit/91df954af1836d1d5e3b708540530fd2f3c22f4a
  Author: Yoann Rodière <yoann at hibernate.org>
  Date:   2017-08-09 (Wed, 09 Aug 2017)

  Changed paths:
    M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/logging/impl/Log.java
    M elasticsearch/src/main/java/org/hibernate/search/elasticsearch/processor/impl/BatchingSharedElasticsearchWorkOrchestrator.java

  Log Message:
  -----------
  HSEARCH-2837 Secure the ES orchestrator shutdown process

1. Throw an exception when trying to submit a changeset during shutdown
1. Throw an exception when trying to submit a changeset after shutdown


Compare: https://github.com/hibernate/hibernate-search/compare/1e8751abfa8b...91df954af183


More information about the hibernate-commits mailing list