# Query in upgrading from 1.7.1 to 2.3.1version of ElasticSearch

**URL:** <https://discuss.elastic.co/t/query-in-upgrading-from-1-7-1-to-2-3-1version-of-elasticsearch/47831>\
**Category:** Elasticsearch\
**Created:** [April 19, 2016, 8:26pm UTC](https://discuss.elastic.co/t/query-in-upgrading-from-1-7-1-to-2-3-1version-of-elasticsearch/47831 "2016-04-19T20:26:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kannans](https://avatars.discourse-cdn.com/v4/letter/k/8c91f0/32.png) [@kannans](https://discuss.elastic.co/u/kannans)\
**Post date:** [April 19, 2016, 8:26pm UTC](https://discuss.elastic.co/t/query-in-upgrading-from-1-7-1-to-2-3-1version-of-elasticsearch/47831/1 "2016-04-19T20:26:28Z")

</div>

Currently we are using ElasticSearch 1.7.1, we have planned to upgrade to 2.3.1 and we have done all of the steps as mentioned in the ES 2.3.1 upgrading help documentations.

After we initiated the upgrade, 2.3.1 cluster started and nodes are connected properly, but pending\_tasks are increasing consistently. It took more than 4 hours, but still pending\_tasks are increasing and those tasks are refresh-mapping [index] fyi.

If anyone done the upgrade to 2.3.1or 2.x versions then can anyone please share your experience about this? Its an usual behaviour?

P.S : We dont have any special configurations in our config file, except basic changes like clustername, nodename, path to logs & data, network.host, unicast nodes.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 19, 2016, 10:42pm UTC](https://discuss.elastic.co/t/query-in-upgrading-from-1-7-1-to-2-3-1version-of-elasticsearch/47831/2 "2016-04-19T22:42:59Z")

</div>

What does [hot threads](https://www.elastic.co/guide/en/elasticsearch/reference/2.3/cluster-nodes-hot-threads.html) show?

---

<div class="post-metadata">

**Author:** ![kannans](https://avatars.discourse-cdn.com/v4/letter/k/8c91f0/32.png) [@kannans](https://discuss.elastic.co/u/kannans)\
**Post date:** [April 20, 2016, 4:14am UTC](https://discuss.elastic.co/t/query-in-upgrading-from-1-7-1-to-2-3-1version-of-elasticsearch/47831/3 "2016-04-20T04:14:42Z")

</div>

Thank you for the reply @warklom, please refer the below content,

Hot threads at 2016-04-20T04:11:48.706Z, interval=500ms, busiestThreads=3, ignoreIdleThreads=true:

95.8% (479.1ms out of 500ms) cpu usage by thread 'elasticsearch[node1][clusterService#updateTask][T#1]'  
2/10 snapshots sharing following 18 elements  
java.lang.Object.(Object.java:37)  
java.util.zip.Deflater.(Deflater.java:168)  
org.elasticsearch.common.compress.deflate.DeflateCompressor.streamOutput(DeflateCompressor.java:126)  
org.elasticsearch.common.compress.CompressedXContent.(CompressedXContent.java:83)  
org.elasticsearch.index.mapper.DocumentMapper.(DocumentMapper.java:209)  
org.elasticsearch.index.mapper.DocumentMapper.updateFieldType(DocumentMapper.java:385)  
org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:372)  
org.elasticsearch.index.mapper.MapperService.merge(MapperService.java:289)  
org.elasticsearch.indices.cluster.IndicesClusterStateService.processMapping(IndicesClusterStateService.java:387)  
org.elasticsearch.indices.cluster.IndicesClusterStateService.applyMappings(IndicesClusterStateService.java:348)  
org.elasticsearch.indices.cluster.IndicesClusterStateService.clusterChanged(IndicesClusterStateService.java:164)  
org.elasticsearch.cluster.service.InternalClusterService.runTasksForExecutor(InternalClusterService.java:610)  
org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:772)  
org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.runAndClean(PrioritizedEsThreadPoolExecutor.java:231)  
org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:194)  
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)  
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)  
java.lang.Thread.run(Thread.java:745)  
2/10 snapshots sharing following 22 elements  
java.util.zip.CRC32.updateBytes(Native Method)  
java.util.zip.CRC32.update(CRC32.java:65)  
java.util.zip.CheckedOutputStream.write(CheckedOutputStream.java:74)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:57pm UTC](https://discuss.elastic.co/t/query-in-upgrading-from-1-7-1-to-2-3-1version-of-elasticsearch/47831/4 "2017-07-05T22:57:50Z")

</div>


