Scripts not in config/scripts on all nodes-->NO Error?

Sorry, I don't follow what you mean by "6 masters"? By a node, I mean an instance of bin/elasticsearch running.

What do you mean "it does not crash"? This would fail the query (should get a 4xx error), but would not cause elasticsearch to shutdown.