OpenSearch/qa
Nik Everett 8f40f1435a
Save a little space in agg tree (backport of #53730) (#54213)
This drop the "top level" pipeline aggregators from the aggregation
result tree which should save a little memory and a few serialization
bytes. Perhaps more imporantly, this provides a mechanism by which we
can remove *all* pipelines from the aggregation result tree. This will
save quite a bit of space when pipelines are deep in the tree.

Sadly, doing this isn't simple because of backwards compatibility. Nodes
before 7.7.0 *need* those pipelines. We provide them by setting passing
a `Supplier<PipelineTree>` into the root of the aggregation tree that we
only call if we need to serialize to a version before 7.7.0.

This solution works for cross cluster search because we always reduce
the aggregations in each remote cluster and then forward them back to
the coordinating node. Its quite possible that the coordinating node
needs the pipeline (say it is version 7.1.0) and the gateway node in the
remote cluster doesn't (version 7.7.0). In that case the data nodes
won't send the pipeline aggregations back to the gateway node.
Critically, the gateway node *will* send the pipeline aggregations back
to the coordinating node. This is all managed with that
`Supplier<PipelineTree>`, but *how* it is managed is a bit tricky.
2020-03-25 15:51:16 -04:00
..
ccs-unavailable-clusters Remove seeds depedency for remote cluster settings (#52829) 2020-02-26 10:17:25 -07:00
die-with-dignity RestHandlers declare handled routes (#52123) 2020-02-09 22:48:32 -07:00
evil-tests Report parser name and location in XContent deprecation warnings (#53805) 2020-03-20 11:52:55 +00:00
full-cluster-restart Consolidate duplication of BWC testing task setup in script plugin (#53079) 2020-03-03 14:43:02 -08:00
logging-config ThreadPool and ThreadContext are not closeable (#43249) (#49273) 2019-11-19 13:15:16 -07:00
mixed-cluster Consolidate duplication of BWC testing task setup in script plugin (#53079) 2020-03-03 14:43:02 -08:00
multi-cluster-search Save a little space in agg tree (backport of #53730) (#54213) 2020-03-25 15:51:16 -04:00
no-bootstrap-tests Spawn controller processes from a different directory on macOS (#47013) 2019-09-27 14:02:40 +01:00
os Cleanup after DockerTests suite completes (#54164) 2020-03-25 11:58:44 +00:00
remote-clusters [7.x] Smarter copying of the rest specs and tests (#52114) (#52798) 2020-02-26 08:13:41 -06:00
repository-multi-version Consolidate duplication of BWC testing task setup in script plugin (#53079) 2020-03-03 14:43:02 -08:00
rolling-upgrade Support joda style date patterns in 7.x (#52555) 2020-03-12 08:57:03 +01:00
smoke-test-client Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-http Report parser name and location in XContent deprecation warnings (#53805) 2020-03-20 11:52:55 +00:00
smoke-test-ingest-disabled Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-ingest-with-all-dependencies Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
smoke-test-multinode Set feature flags for IndexTemplatesV2 in top-level gradle file (#53898) 2020-03-20 14:52:22 -06:00
smoke-test-plugins Test modifications for FIPS 140 mode (#51832) (#52128) 2020-02-10 10:57:03 +02:00
unconfigured-node-name Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00
verify-version-constants Consolidate duplication of BWC testing task setup in script plugin (#53079) 2020-03-03 14:43:02 -08:00
wildfly Convert Wildfly tests to run in Docker (#53159) 2020-03-20 16:47:21 +00:00
build.gradle Apply 2-space indent to all gradle scripts (#49071) 2019-11-14 11:01:23 +00:00