4007ff44b7
This commit fixes an issue in synchronization in Exporters class. The export() method is synchronized and when used with LocalExport can provoke a deadlock. LocalExporter exports data locally using bulk requests that can trigger cluster state updates for mapping updates. If a exporters settings update sneaks in, the settings update waits for the export to terminate but the export waits for the settings to be updated... and boom. This commit removes the synchronized and refactor Exporters/LocalExporter to use state and dedicated instance of LocalBulk for each export so that synchronizing methods is not necessary anymore. It also lower down some random settings in MonitoringBulkTests because the previous settings almost always fill the bulk thread pool. closes elastic/elasticsearch#1769 Original commit: elastic/x-pack-elasticsearch@f50c916f8b |
||
---|---|---|
buildSrc | ||
dev-tools | ||
elasticsearch | ||
.dir-locals.el | ||
.projectile | ||
GRADLE.CHEATSHEET | ||
LICENSE.txt | ||
README.asciidoc | ||
build.gradle | ||
gradle.properties | ||
settings.gradle |
README.asciidoc
= Elasticsearch X Plugins A set of Elastic's commercial plugins: - License - Shield - Watcher - Marvel = Setup You must checkout x-plugins and elasticsearch in the same directory as siblings. This elasticsearch checkout will be used when building x-plugins.