OpenSearch/core
Lee Hinman c8081bde91 Further refactor and extend testing for `TransportShardBulkAction`
This moves `updateReplicaRequest` to `createPrimaryResponse` and separates the
translog updating to be a separate function so that the function purpose is more
easily understood (and testable).

It also separates the logic for `MappingUpdatePerformer` into two functions,
`updateMappingsIfNeeded` and `verifyMappings` so they don't do too much in a
single function. This allows finer-grained error testing for when a mapping
fails to parse or be applied.

Finally, it separates parsing and version validation for
`executeIndexRequestOnReplica` into a separate
method (`prepareIndexOperationOnReplica`) and adds a test for it.

Relates to #23359
2017-03-29 10:56:51 -06:00
..
licenses Upgrade to Lucene 6.5.0 (#23750) 2017-03-27 15:57:54 +02:00
src Further refactor and extend testing for `TransportShardBulkAction` 2017-03-29 10:56:51 -06:00
build.gradle Upgrade HDRHistogram to 2.1.9 (#23254) 2017-02-21 08:50:26 +01:00