title: failed to put mappings on indices crash the elasticsearch [5.4.1]
body: <p>ElasticSearch [5.4.1]
  1 we have the some index like ics_pcs_2017.06.06
  2 we delete the some old index use jave code:
      getClient.admin().indices().prepareDelete(indexname).execute().actionGet()</p>
  
  <pre><code>I think the index ics_pcs_2017.06.06 will have 60G+ and 100,000,000 documents in it.
  </code></pre>
  
  <p>3 we make a new logstash to receive old logs ,and we found in the ES log:
      ES logs info</p>
  
  <pre><code>create index for ics_pcs_2017.06.06( didn't get the detail log)
  
  .....
  [o.e.c.m.MetaDataCreateIndexservice] create index cause [auto(bulk api)], templates[icstemplate],shards [6]/[1], mappings [icslog]
  
  .....
  [o.e.c.m.MetaDataCreateIndexservice] [ics_pcs_2017.06.06/xtNoHLSOS4GBQo01-Nprg] update_mapping [icslog]
  
  ...
  [o.e.a.a.1.m.p.TransportPutMappingAction] [ics-master1] failed to put mappings on indices[[[ics_pcs_2017.06.06/xtNoHLSOS4GBQo01-Nprg]]]
  org.elasticsearch.cluster.metada.ProcessClusterEventTimeoutException:failed to process cluster event(put-mapping) within 30s
  
  ....
  -----------
  then there is many logs like  failed to put mappings on indices[[[ics_pcs_2017.06.06/xtNoHLSOS4GBQo01-Nprg]]]
  ... failed to put mappings on indices[[[ics_pcs_2017.06.06/xtNoHLSOS4GBQo01-Nprg]]]
  ...failed to put mappings on indices[[[ics_pcs_2017.06.06/xtNoHLSOS4GBQo01-Nprg]]]
  
  and cause the elasticsearch master down.
  </code></pre>
  
  <p>Would some wone help and explain the reason, thanks a lot.</p>