OpenSearch/plugins
Tim Brooks 2ccddbfa88
Move transport decoding and aggregation to server (#54360)
Currently all of our transport protocol decoding and aggregation occurs
in the individual transport modules. This means that each implementation
(test, netty, nio) must implement this logic. Additionally, it means
that the entire message has been read from the network before the server
package receives it.

This commit creates a pipeline in server which can be passed arbitrary
bytes to handle. Internally, the pipeline will decode, decompress, and
aggregate the messages. Additionally, this allows us to run many
megabytes of bytes through the pipeline in tests to ensure that the
logic works.

This work will enable future work:

Circuit breaking or backoff logic based on message type and byte
in the content aggregator.
Sharing bytes with the application layer using the ref counted
releasable network bytes.
Improved network monitoring based specifically on channels.
Finally, this fixes the bug where we do not circuit break on the correct
message size when compression is enabled.
2020-03-27 14:13:10 -06:00
..
analysis-icu Upgrade to lucene 8.5.0 release (#54077) 2020-03-24 13:45:50 +00:00
analysis-kuromoji Upgrade to lucene 8.5.0 release (#54077) 2020-03-24 13:45:50 +00:00
analysis-nori Upgrade to lucene 8.5.0 release (#54077) 2020-03-24 13:45:50 +00:00
analysis-phonetic Upgrade to lucene 8.5.0 release (#54077) 2020-03-24 13:45:50 +00:00
analysis-smartcn Upgrade to lucene 8.5.0 release (#54077) 2020-03-24 13:45:50 +00:00
analysis-stempel Upgrade to lucene 8.5.0 release (#54077) 2020-03-24 13:45:50 +00:00
analysis-ukrainian Upgrade to lucene 8.5.0 release (#54077) 2020-03-24 13:45:50 +00:00
discovery-azure-classic Refactor global build info plugin to leverage JavaInstallationRegistry (#54026) 2020-03-23 15:30:10 -07:00
discovery-ec2 Refactor global build info plugin to leverage JavaInstallationRegistry (#54026) 2020-03-23 15:30:10 -07:00
discovery-gce Encore consistent compile options across all projects (#54120) 2020-03-25 08:24:21 -07:00
examples Rename AtomicFieldData to LeafFieldData (#53554) 2020-03-17 12:30:12 +00:00
ingest-attachment Upgrade Tika to 1.24 (#54130) (#54150) 2020-03-25 11:03:26 +02:00
mapper-annotated-text [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
mapper-murmur3 [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
mapper-size [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
repository-azure Revert "Use Azure Bulk Deletes in Azure Repository (#53919)" (#54089) (#54111) 2020-03-25 12:13:25 +01:00
repository-gcs Remove Unused Apache Http Dependency from GCS Repo Plugin (#54331) (#54342) 2020-03-27 15:10:19 +01:00
repository-hdfs Update the HDFS version used by HDFS Repo (#53693) (#54125) 2020-03-25 14:01:29 -04:00
repository-s3 Refactor global build info plugin to leverage JavaInstallationRegistry (#54026) 2020-03-23 15:30:10 -07:00
store-smb [7.x] Optimize which Rest resources are used by the Rest tests… (#53766) 2020-03-19 12:28:59 -05:00
transport-nio Move transport decoding and aggregation to server (#54360) 2020-03-27 14:13:10 -06:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00