OpenSearch/plugins
Tim Brooks 4ea9ddb7d3
Unify nio read / write channel contexts (#28160)
This commit is related to #27260. Right now we have separate read and
write contexts for implementing specific protocol logic. However, some
protocols require a closer relationship between read and write
operations than is allowed by our current model. An example is HTTP
which might require a write if some problem with request parsing was
encountered.

Additionally, some protocols require close messages to be sent when a
channel is shutdown. This is also problematic in our current model,
where we assume that channels should simply be queued for close and
forgotten.

This commit transitions to a single ChannelContext which implements
all read, write, and close logic for protocols. It is the job of the
context to tell the selector when to close the channel. A channel can
still be manually queued for close with a selector. This is how server
channels are closed for now. And this route allows timeout mechanisms on
normal channel closes to be implemented.
2018-01-17 09:44:21 -07:00
..
analysis-icu upgrade to lucene 7.2.1 (#28218) 2018-01-15 16:47:46 +01:00
analysis-kuromoji upgrade to lucene 7.2.1 (#28218) 2018-01-15 16:47:46 +01:00
analysis-phonetic Fix daitch_mokotoff phonetic filter to use the dedicated Lucene filter (#28225) 2018-01-15 19:35:54 +01:00
analysis-smartcn upgrade to lucene 7.2.1 (#28218) 2018-01-15 16:47:46 +01:00
analysis-stempel upgrade to lucene 7.2.1 (#28218) 2018-01-15 16:47:46 +01:00
analysis-ukrainian upgrade to lucene 7.2.1 (#28218) 2018-01-15 16:47:46 +01:00
discovery-azure-classic Require JDK 9 for compilation (#28071) 2018-01-16 13:45:13 -05:00
discovery-ec2 Fix third-party audit tasks on JDK 8 2018-01-16 22:59:29 -05:00
discovery-file Remove some unused code (#27792) 2017-12-13 16:45:55 +01:00
discovery-gce Require JDK 9 for compilation (#28071) 2018-01-16 13:45:13 -05:00
examples Painless: Add whitelist extensions (#28161) 2018-01-15 11:28:31 -08:00
ingest-attachment Fix third-party audit tasks on JDK 8 2018-01-16 22:59:29 -05:00
ingest-geoip test: do not use asn fields 2018-01-07 23:21:01 +01:00
ingest-user-agent update ingest-user-agent regexes.yml (#25608) 2017-07-10 08:43:11 -07:00
jvm-example Require JDK 9 for compilation (#28071) 2018-01-16 13:45:13 -05:00
mapper-murmur3 Add support for filtering mappings fields (#27603) 2017-12-05 20:31:29 +01:00
mapper-size Unify the result interfaces from get and search in Java client (#25361) 2017-06-29 11:35:28 +02:00
repository-azure Allow affix settings to specify dependencies (#27161) 2017-11-13 12:06:36 +01:00
repository-gcs Update Google SDK to version 1.23 (#27381) 2017-11-15 15:30:27 +01:00
repository-hdfs Fix third-party audit tasks on JDK 8 2018-01-16 22:59:29 -05:00
repository-s3 TEST: reduce blob size #testExecuteMultipartUpload 2017-12-20 12:43:05 -05:00
store-smb Validate top-level keys for create index request (#23755) (#23869) 2017-09-26 09:49:20 -07:00
transport-nio Unify nio read / write channel contexts (#28160) 2018-01-17 09:44:21 -07:00
build.gradle Plugins: Include license and notice files in zip (#23191) 2017-02-15 11:23:12 -08:00