# Deprecation warning after set search.max\_buckets on Elastic 7

**URL:** <https://discuss.elastic.co/t/deprecation-warning-after-set-search-max-buckets-on-elastic-7/180397>\
**Category:** Elasticsearch\
**Created:** [May 9, 2019, 3:32pm UTC](https://discuss.elastic.co/t/deprecation-warning-after-set-search-max-buckets-on-elastic-7/180397 "2019-05-09T15:32:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![klaus82](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/klaus82/32/45900_2.png) [@klaus82](https://discuss.elastic.co/u/klaus82)\
**Post date:** [May 9, 2019, 3:32pm UTC](https://discuss.elastic.co/t/deprecation-warning-after-set-search-max-buckets-on-elastic-7/180397/1 "2019-05-09T15:32:00Z")

</div>

Hi all,  
On elastic 7, we set the search.max\_buckets and after this change, we started to receive this deprecation warning:

> _#! Deprecation: [discovery.zen.minimum\_master\_nodes] setting was deprecated in Elasticsearch and will be removed in a future release! See the breaking changes documentation for the next major version_

What is the relationship between these two things?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 9, 2019, 3:43pm UTC](https://discuss.elastic.co/t/deprecation-warning-after-set-search-max-buckets-on-elastic-7/180397/2 "2019-05-09T15:43:25Z")

</div>

There is no relationship between those 2 things.

---

<div class="post-metadata">

**Author:** ![klaus82](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/klaus82/32/45900_2.png) [@klaus82](https://discuss.elastic.co/u/klaus82)\
**Post date:** [May 9, 2019, 3:53pm UTC](https://discuss.elastic.co/t/deprecation-warning-after-set-search-max-buckets-on-elastic-7/180397/3 "2019-05-09T15:53:00Z")

</div>

Thank u @dadoonet for your answer.  
So why of that warning? We are using the elastic cloud solution.

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [May 9, 2019, 4:05pm UTC](https://discuss.elastic.co/t/deprecation-warning-after-set-search-max-buckets-on-elastic-7/180397/4 "2019-05-09T16:05:06Z")

</div>

> [@klaus82](#):
>
> So why of that warning? We are using the elastic cloud solution.

Cloud manages the `discovery.zen.minimum_master_nodes` setting for you, but this setting is deprecated in 7.0. However, the Cloud infrastructure still sets it on all clusters. At some point during the 7.x series the infrastructure will be updated not to do so, in preparation for upgrades to 8.0, but until then you can ignore this warning.

---

<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:** [June 6, 2019, 4:05pm UTC](https://discuss.elastic.co/t/deprecation-warning-after-set-search-max-buckets-on-elastic-7/180397/5 "2019-06-06T16:05:19Z")

</div>

Closed on June 6, 2019, 4:05pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
