Skip to content

Conversation

@nik9000
Copy link
Member

@nik9000 nik9000 commented Apr 9, 2020

PipelineAggregators are only sent across the wire for backwards
compatibility with 7.7.0. PipelineAggregator needs to continue to
implement NamedWriteable for backwards compatibility but pipeline
aggregations created after 7.7.0 need not implement any of the methods
in that interface because we'll never attempt to call them. So this
creates implementations in PipelineAggregator (the base class) that
just throw exceptions.

`PipelineAggregator`s are only sent across the wire for backwards
compatibility with 7.7.0. `PipelineAggregator` needs to continue to
implement `NamedWriteable` for backwards compatibility but pipeline
aggregations created after 7.7.0 need not implement any of the methods
in that interface because we'll never attempt to call them. So this
creates implementations in `PipelineAggregator` (the base class) that
just throw exceptions.
@nik9000 nik9000 merged commit 83c328f into elastic:7.x Apr 9, 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