elasticsearch/elasticsearch — pull request #8692 by brwe (2014-11-27 17:54:24+00:00)
Title: mappings: update cluster state with type mapping also for failed indexin...

...g request

When indexing of a document with a type that is not in the mappings fails,
for example because "dynamic": "strict" but doc contains a new field,
then the type is still created on the node that executed the indexing request.
However, the change was never added to the cluster state.
This commit makes sure mapping updates are always added to the cluster state
even if indexing of a document fails.

closes #8650