Skip to content

Comments

[9.3] Flush the rate buffer when the slice index changes (#138856)#140292

Merged
elasticsearchmachine merged 1 commit intoelastic:9.3from
dnhatn:backport/9.3/pr-138856
Jan 7, 2026
Merged

[9.3] Flush the rate buffer when the slice index changes (#138856)#140292
elasticsearchmachine merged 1 commit intoelastic:9.3from
dnhatn:backport/9.3/pr-138856

Conversation

@dnhatn
Copy link
Member

@dnhatn dnhatn commented Jan 7, 2026

Backports the following commits to 9.3:

For rate aggregations, we buffer raw input data points until all slices 
are processed. Buffers can be periodically flushed when the slice
changes, since each slice contains all data points for a shard within a
specific time range. This approach helps reduce memory pressure.
However, if the number of slices is smaller than the number of active
drivers, it will not help. We should partition the data into multiple
reasonably sized slices. I will follow up with this change soon.
@dnhatn dnhatn added :StorageEngine/ES|QL Timeseries / metrics / PromQL / logsdb capabilities in ES|QL >non-issue auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:StorageEngine labels Jan 7, 2026
@elasticsearchmachine elasticsearchmachine merged commit 65ac725 into elastic:9.3 Jan 7, 2026
35 checks passed
@dnhatn dnhatn deleted the backport/9.3/pr-138856 branch January 7, 2026 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >non-issue :StorageEngine/ES|QL Timeseries / metrics / PromQL / logsdb capabilities in ES|QL Team:StorageEngine v9.3.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants