OpenSearch/x-pack/plugin/core
Dimitris Athanasiou 79e414df86
[ML] Fix datafeed skipping first bucket after lookback when aggs are … (#39859) (#39958)
The problem here was that `DatafeedJob` was updating the last end time searched
based on the `now` even though when there are aggregations, the extactor will
only search up to the floor of `now` against the histogram interval.
This commit fixes the issue by using the end time as calculated by the extractor.

It also adds an integration test that uses aggregations. This test would fail
before this fix. Unfortunately the test is slow as we need to wait for the
datafeed to work in real time.

Closes #39842
2019-03-13 09:09:07 +02:00
..
licenses Update httpclient for JDK 11 TLS engine (#37994) 2019-01-30 14:24:29 -07:00
src [ML] Fix datafeed skipping first bucket after lookback when aggs are … (#39859) (#39958) 2019-03-13 09:09:07 +02:00
build.gradle Split third party audit exclusions by type (#36763) 2019-01-07 17:24:19 +02:00
snapshot.key Make licensing FIPS-140 compliant (#30251) 2018-05-02 22:19:43 +03:00