Hi
I tried to upgrade my elasticsearch cluster running version 6.6.2 to version 7.10.2 using full cluster restart upgrade approach. Before performing upgrade, I had some tasks running as can be seen in the following ouput -
"kXxifenTS-eG4airQq7e4g" : {
"name" : "qaes-testesupdadata1",
"transport_address" : "10.109.12.217:9300",
"host" : "10.109.12.217",
"ip" : "10.109.12.217:9300",
"roles" : [
"master",
"data"
],
"attributes" : {
"ml.machine_memory" : "4085968896",
"ml.max_open_jobs" : "20",
"xpack.installed" : "true",
"ml.enabled" : "true"
},
"tasks" : {
"kXxifenTS-eG4airQq7e4g:305558" : {
"node" : "kXxifenTS-eG4airQq7e4g",
"id" : 305558,
"type" : "netty",
"action" : "cluster:monitor/tasks/lists[n]",
"start_time_in_millis" : 1612777918993,
"running_time_in_nanos" : 65061,
"cancellable" : false,
"parent_task_id" : "dhqNUp-ZScu7KFVPGyREfA:326955",
"headers" : { }
},
"kXxifenTS-eG4airQq7e4g:281310" : {
"node" : "kXxifenTS-eG4airQq7e4g",
"id" : 281310,
"type" : "transport",
"action" : "indices:data/write/update/byquery",
"start_time_in_millis" : 1612777692354,
"running_time_in_nanos" : 226639681547,
"cancellable" : true,
"headers" : { }
},
So I shutdown the nodes and perform the upgrade and when upgraded nodes restart, they join the cluster, shards recover completely and nodes are in healthy state but these tasks are terminated. Is there a way to get around with this or should I prefer rolling upgrade as my application will have tasks running even after I stop indexing before upgrade. Please help!