Nhat Nguyen

Results 17 issues of Nhat Nguyen

Today a CCR's changes request can trigger a [refresh](https://github.com/elastic/elasticsearch/blob/b914994b40ec26bf8b593080f43bfc17d13b4068/server/src/main/java/org/elasticsearch/index/engine/InternalEngine.java#L2510), which can lead to a refresh storm if the leader index is actively indexing. I ran a [benchmark](https://github.com/elastic/elasticsearch/pull/68790) with eventdata data...

:Distributed/CCR
Team:Distributed
>tech debt

The most common usage of field-caps is retrieving the field-caps of group indices having the same index mappings. We can speed up the merging process by performing bulk merges for...

>enhancement
:Search/Search
Team:Search
v8.5.0

Currently, we do not account the number of documents with 'recovery_source' ready to drop when selecting merge specifications. Previously, a single large segment containing 'recovery_source' documents was considered fully merged,...

v8.15.0

Backports the following commits to 8.13: - Avoid using small inactive exchange timeout in breaker tests (#106394)

>test
backport
Team:Analytics
auto-merge
:Analytics/ES|QL
v8.13.4

This change introduces operator factories for time-series aggregations. A time-series aggregation executes in three stages, deviating from the typical two-stage aggregation. For example: `sum(rate(write_requests)), avg(cpu) BY cluster, time-bucket` **1. Initial...

v8.15.0

The DirectEncoder currently returns the incorrect value for the `positionCount()` method, which should be the number of positions ready in the current batch. We need to keep track of whether...

>bug
Team:Analytics
auto-backport-and-merge
:Analytics/ES|QL
v8.14.1
v8.15.0
v8.13.4

Adjust the lower bound to include the case where the number of positions is zero. Closes #107847

>test
Team:Analytics
:Analytics/ES|QL
v8.14.1
v8.15.0
v8.13.4

Version: 8.13.x ``` { "query": "FROM `.ds-metrics-system` | EVAL bucket=DATE_TRUNC(1 hour, @timestamp) | STATS s=AVG(system.cpu.total.norm.pct) BY organization.itbs.name,bucket" } ``` I was investigating a support issue and found this ESQL failed...

>bug
Team:Analytics
:Analytics/ES|QL

This PR adds a CSV test suite for time-series and metrics commands. The number of test commands is currently small, it will expand in incoming PRs.

>non-issue
Team:Analytics
:StorageEngine/TSDB
:Analytics/ES|QL
Team:StorageEngine
v8.15.0

In section 8.13, during serialization, we can enable compact forms for blocks/vectors. One of these is converting a single position vector into a constant vector. This change relaxes the assertion,...

>test
Team:Analytics
:Analytics/ES|QL
v8.13.5