mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
[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 {
|
throws Exception {
|
||||||
clusterService.submitStateUpdateTask("update-datafeed-" + request.getUpdate().getId(),
|
clusterService.submitStateUpdateTask("update-datafeed-" + request.getUpdate().getId(),
|
||||||
new AckedClusterStateUpdateTask<PutDatafeedAction.Response>(request, listener) {
|
new AckedClusterStateUpdateTask<PutDatafeedAction.Response>(request, listener) {
|
||||||
private DatafeedConfig updatedDatafeed;
|
private volatile DatafeedConfig updatedDatafeed;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected PutDatafeedAction.Response newResponse(boolean acknowledged) {
|
protected PutDatafeedAction.Response newResponse(boolean acknowledged) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user