# Rolling upgrade

**URL:** https://discuss.elastic.co/t/rolling-upgrade/40923
**Category:** Elasticsearch
**Created:** [February 4, 2016, 3:09am UTC](https://discuss.elastic.co/t/rolling-upgrade/40923 "2016-02-04T03:09:32Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![w0lverine](https://avatars.discourse-cdn.com/v4/letter/w/90db22/32.png) [@w0lverine](https://discuss.elastic.co/u/w0lverine)
#### Post date: [February 4, 2016, 3:09am UTC](https://discuss.elastic.co/t/rolling-upgrade/40923/1 "2016-02-04T03:09:32Z")

</div>

I am trying to update ES as a rolling upgrade for the 1st time. ( I am a new user) and I am reading the documentation and I come across this syntax that is another representation of JSON:

> PUT /\_cluster/settings  
> {  
> "transient": {  
> "cluster.routing.allocation.enable": "none"  
> }  
> }'

Source: [Rolling upgrade | Elasticsearch Guide [8.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/rolling-upgrades.html)

I thought it was shorthand notation for the following:

> curl -POST localhost:9200/elk\_cluser\_main/settings -d '  
> {  
> "transient": {  
> "cluster.routing.allocation.enable": "none"  
> }  
> }'

Obviously I am wrong. Can someone explain this shorthand notation?

---

<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: [February 4, 2016, 3:20am UTC](https://discuss.elastic.co/t/rolling-upgrade/40923/2 "2016-02-04T03:20:03Z")

</div>

It's just;

```auto
curl -XPUT host:9200/_cluster/settings -d '{
"transient": {
"cluster.routing.allocation.enable": "none"
}
}'

```

That syntax is [Sense](https://www.elastic.co/guide/en/sense/current/index.html) formatted.

---

<div class="post-metadata">

### Author: ![w0lverine](https://avatars.discourse-cdn.com/v4/letter/w/90db22/32.png) [@w0lverine](https://discuss.elastic.co/u/w0lverine)
#### Post date: [February 4, 2016, 3:31am UTC](https://discuss.elastic.co/t/rolling-upgrade/40923/3 "2016-02-04T03:31:21Z")

</div>

Should have clicked on that sense hyperlink in the docs. Thanks!

---

<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, 11:19pm UTC](https://discuss.elastic.co/t/rolling-upgrade/40923/4 "2017-07-05T23:19:05Z")

</div>


