From cfd7847628efb60b25725f06ceccacafb3568add Mon Sep 17 00:00:00 2001 From: Martijn van Groningen Date: Fri, 20 Apr 2018 07:59:13 +0200 Subject: [PATCH] fixed issues after merging in master --- .../ccr/action/bulk/TransportBulkShardOperationsAction.java | 2 +- .../xpack/ccr/index/engine/FollowingEngineTests.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/x-pack/plugin/ccr/src/main/java/org/elasticsearch/xpack/ccr/action/bulk/TransportBulkShardOperationsAction.java b/x-pack/plugin/ccr/src/main/java/org/elasticsearch/xpack/ccr/action/bulk/TransportBulkShardOperationsAction.java index 7d92c5fc938..1930f91cbb1 100644 --- a/x-pack/plugin/ccr/src/main/java/org/elasticsearch/xpack/ccr/action/bulk/TransportBulkShardOperationsAction.java +++ b/x-pack/plugin/ccr/src/main/java/org/elasticsearch/xpack/ccr/action/bulk/TransportBulkShardOperationsAction.java @@ -47,7 +47,7 @@ public class TransportBulkShardOperationsAction indexNameExpressionResolver, BulkShardOperationsRequest::new, BulkShardOperationsRequest::new, - ThreadPool.Names.BULK); + ThreadPool.Names.WRITE); } @Override diff --git a/x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/index/engine/FollowingEngineTests.java b/x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/index/engine/FollowingEngineTests.java index a637c50cadc..56ee10a98d1 100644 --- a/x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/index/engine/FollowingEngineTests.java +++ b/x-pack/plugin/ccr/src/test/java/org/elasticsearch/xpack/ccr/index/engine/FollowingEngineTests.java @@ -281,7 +281,8 @@ public class FollowingEngineTests extends ESTestCase { xContentRegistry, IndexSettingsModule.newIndexSettings(shardId.getIndexName(), indexSettings.getSettings())), new NoneCircuitBreakerService(), () -> SequenceNumbers.NO_OPS_PERFORMED, - () -> primaryTerm.get() + () -> primaryTerm.get(), + EngineTestCase::createTombstoneDoc ); }