From ee5e66bb0d440bf14c99aebc58040f3193ec50a5 Mon Sep 17 00:00:00 2001 From: Dimitrios Athanasiou Date: Fri, 28 Apr 2017 17:58:55 +0100 Subject: [PATCH] [ML] Make updateDatafeed var in UpdateDatafeedAction volatile Original commit: elastic/x-pack-elasticsearch@d8461d0960cde8383461007b79754e7db593ec8f --- .../org/elasticsearch/xpack/ml/action/UpdateDatafeedAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/src/main/java/org/elasticsearch/xpack/ml/action/UpdateDatafeedAction.java b/plugin/src/main/java/org/elasticsearch/xpack/ml/action/UpdateDatafeedAction.java index 95d43ecb8b5..5d5c7a10a83 100644 --- a/plugin/src/main/java/org/elasticsearch/xpack/ml/action/UpdateDatafeedAction.java +++ b/plugin/src/main/java/org/elasticsearch/xpack/ml/action/UpdateDatafeedAction.java @@ -147,7 +147,7 @@ public class UpdateDatafeedAction extends Action(request, listener) { - private DatafeedConfig updatedDatafeed; + private volatile DatafeedConfig updatedDatafeed; @Override protected PutDatafeedAction.Response newResponse(boolean acknowledged) {