Skip to content

Conversation

@not-napoleon
Copy link
Member

Backports the following commits to 7.x:

Date based aggregations accept a timezone, which gets applied to both the bucketing logic and the formatter. This is usually what you want, but in the case of date formats where a timezone doesn't make any sense, it can create problems. In particular, our formatting logic and our parsing logic were doing different things for epoch_second and epoch_millis formats with time zones. This led to a problem on composite where we'd return an after key for the last bucket that would parse to a time before the last bucket, so instead of correctly returning an empty response to indicate the end of the aggregation, we'd keep returning the same last page of data.
@not-napoleon not-napoleon merged commit 2e585a8 into elastic:7.x Jun 15, 2021
@not-napoleon not-napoleon deleted the backport/7.x/pr-73955 branch June 15, 2021 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant