OpenSearch/modules
Yannick Welsch 9638ca20b0 Allow dropping documents with auto-generated ID (#46773)
When using auto-generated IDs + the ingest drop processor (which looks to be used by filebeat
as well) + coordinating nodes that do not have the ingest processor functionality, this can lead
to a NullPointerException.

The issue is that markCurrentItemAsDropped() is creating an UpdateResponse with no id when
the request contains auto-generated IDs. The response serialization is lenient for our
REST/XContent format (i.e. we will send "id" : null) but the internal transport format (used for
communication between nodes) assumes for this field to be non-null, which means that it can't
be serialized between nodes. Bulk requests with ingest functionality are processed on the
coordinating node if the node has the ingest capability, and only otherwise sent to a different
node. This means that, in order to reproduce this, one needs two nodes, with the coordinating
node not having the ingest functionality.

Closes #46678
2019-09-19 16:46:33 +02:00
..
aggs-matrix-stats Replace the SearchContext with QueryShardContext when building aggregator factories (#46527) 2019-09-11 16:43:30 +02:00
analysis-common Enable reloading of synonym_graph filters (#45135) 2019-08-02 15:33:42 +02:00
ingest-common Remove Settings from BaseRestRequest Constructor (#45418) (#45429) 2019-08-12 05:14:45 +02:00
ingest-geoip Fix GeoIpProcessorFactoryTests on windows (#45668) 2019-08-28 18:02:25 -04:00
ingest-user-agent Expose cache setting in UserAgentPlugin (#46533) 2019-09-16 11:30:38 +02:00
lang-expression Upgrade to Lucene 8.2.0 release (#44859) (#44892) 2019-07-26 08:14:59 +02:00
lang-mustache Update mustache dependency to 0.9.6 (#46243) 2019-09-09 13:42:03 +02:00
lang-painless Replace the SearchContext with QueryShardContext when building aggregator factories (#46527) 2019-09-11 16:43:30 +02:00
mapper-extras Add mapper-extras and the RankFeatureQuery in the hlrc (#43713) 2019-08-14 18:41:39 +02:00
parent-join Delay the creation of SubSearchContext to the FetchSubPhase (#46598) 2019-09-12 14:52:15 +02:00
percolator Deprecate `_field_names` disabling (#42854) 2019-09-11 14:58:08 +02:00
rank-eval Remove Settings from BaseRestRequest Constructor (#45418) (#45429) 2019-08-12 05:14:45 +02:00
reindex Allow dropping documents with auto-generated ID (#46773) 2019-09-19 16:46:33 +02:00
repository-url Repository plugin test cacheability fixes (#46572) 2019-09-11 08:24:55 -07:00
systemd Mark fields in SystemdPluginTests as final 2019-07-24 17:16:50 +09:00
transport-netty4 Add test tasks for unpooled and direct buffer pooling to netty (#46049) 2019-08-30 11:37:45 -07:00
build.gradle convert modules to use testclusters (#40804) 2019-04-04 11:45:40 +03:00