Skip to content

Conversation

@nik9000
Copy link
Member

@nik9000 nik9000 commented Mar 30, 2020

This fixes pipeline aggregations used in cross cluster search from an older
version of Elasticsearch to a newer version of Elasticsearch. I broke
this in #53730 when I was too aggressive in shutting off serialization
of pipeline aggs. In particular, this comes up when the coordinating
node is pre-7.8.0 and the gateway node is on or after 7.8.0.

The fix is another step down the line to remove pipeline aggregators
from the aggregation tree. Sort of. It create a new
List<PipelineAggregator> member in InternalAggregation but it is
only used for bwc serialization and it is fed by the mechanism
established in #53730 to read the pipelines from the

This fixes pipeline aggregations used in cross cluster search from an older
version of Elasticsearch to a newer version of Elasticsearch. I broke
this in elastic#53730 when I was too aggressive in shutting off serialization
of pipeline aggs. In particular, this comes up when the coordinating
node is pre-7.8.0 and the gateway node is on or after 7.8.0.

The fix is another step down the line to remove pipeline aggregators
from the aggregation tree. Sort of. It create a new
`List<PipelineAggregator>` member in `InternalAggregation` *but* it is
only used for bwc serialization and it is fed by the mechanism
established in elastic#53730 to read the pipelines from the
@nik9000 nik9000 changed the title Fix pipeline agg serialization for ccs (#54282) Fix pipeline agg serialization for ccs (backport of #54282) Apr 1, 2020
@nik9000 nik9000 merged commit a5adac0 into elastic:7.x Apr 2, 2020
nik9000 added a commit to nik9000/elasticsearch that referenced this pull request Apr 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant