OpenSearch/test/framework
Lee Hinman 0257a7b97a Only re-parse operation if a mapping update was needed
When executing an index operation on the primary shard,
`TransportShardBulkAction` first parses the document, sees if there are any
mapping updates that needs to be applied, and then updates the mapping on the
master node. It then re-parses the document to make sure that the mappings have
been applied and propagated.

This adds a check that skips the second parsing of the document in the event
there was not a mapping update applied in the first case.

Fixes a performance regression introduced in #23665
2017-04-05 09:29:44 -06:00
..
src Only re-parse operation if a mapping update was needed 2017-04-05 09:29:44 -06:00
build.gradle Replace Socket, ServerSocket, and HttpServer usages in tests with mocksocket versions (#22287) 2017-01-04 14:38:51 -06:00