In ES5 they limit the number of shards to 1000 * number of nodes add a new check to warn users when approaching thresholds. See: https://github.com/elastic/elasticsearch/issues/20705