Nhat Nguyen
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...
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...
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,...
Backports the following commits to 8.13: - Avoid using small inactive exchange timeout in breaker tests (#106394)
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...
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...
Adjust the lower bound to include the case where the number of positions is zero. Closes #107847
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...
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.
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,...