Fixed
Details
Assignee
Yoann RodièreYoann RodièreReporter
Yoann RodièreYoann RodièreFix versions
Priority
Major
Details
Details
Assignee
Yoann Rodière
Yoann RodièreReporter
Yoann Rodière
Yoann RodièreFix versions
Priority
Created April 11, 2018 at 6:48 AM
Updated October 25, 2019 at 3:07 PM
Resolved October 3, 2019 at 6:41 AM
Index manager initialization may be costly, in particular in the Elasticsearch case, and may not involve concurrent access to shared resources.
We might want to initialize index managers in parallel, in order to improve performance.
Note: this may conflict with the idea of lazy index manager initialization from HSEARCH-2339.
See
org.hibernate.search.v6poc.backend.elasticsearch.index.impl.ElasticsearchIndexManagerBuilder#build
.Conversely, closing an index manager involves switching off work sinks (not accepting any more work) and then waiting for pending works to finish executing. The second part should definitely be executed in parallel for all index managers.