[ML] Make updateDatafeed var in UpdateDatafeedAction volatile
Original commit: elastic/x-pack-elasticsearch@d8461d0960
This commit is contained in:
parent
5a70eac6e8
commit
ee5e66bb0d
|
@ -147,7 +147,7 @@ public class UpdateDatafeedAction extends Action<UpdateDatafeedAction.Request, P
|
|||
throws Exception {
|
||||
clusterService.submitStateUpdateTask("update-datafeed-" + request.getUpdate().getId(),
|
||||
new AckedClusterStateUpdateTask<PutDatafeedAction.Response>(request, listener) {
|
||||
private DatafeedConfig updatedDatafeed;
|
||||
private volatile DatafeedConfig updatedDatafeed;
|
||||
|
||||
@Override
|
||||
protected PutDatafeedAction.Response newResponse(boolean acknowledged) {
|
||||
|
|
Loading…
Reference in New Issue