Skip to content

Remove deprecated wrapped from scripted_metric (backport of #57627)#57763

Merged
nik9000 merged 2 commits intoelastic:7.xfrom
nik9000:scripted_metric_mem_7_x
Jun 5, 2020
Merged

Remove deprecated wrapped from scripted_metric (backport of #57627)#57763
nik9000 merged 2 commits intoelastic:7.xfrom
nik9000:scripted_metric_mem_7_x

Conversation

@nik9000
Copy link
Copy Markdown
Member

@nik9000 nik9000 commented Jun 5, 2020

This removes the deprecated asMultiBucketAggregator wrapper from
scripted_metric. Unlike most other such removals, this isn't likely to
save much memory. But it does make the internals of the aggregator
slightly less twisted.

Relates to #56487

…7627)

This removes the deprecated `asMultiBucketAggregator` wrapper from
`scripted_metric`. Unlike most other such removals, this isn't likely to
save much memory. But it does make the internals of the aggregator
slightly less twisted.

Relates to elastic#56487
scripts don't have permission to call `parallelStream` because it'll
sometimes make a fork/join pool and script can't start threads. In this
case I added it by accident in elastic#57627 and should have just used
`stream`.
@nik9000 nik9000 merged commit 3b1dfa3 into elastic:7.x Jun 5, 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