Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[PPL] Limit retained jobs and retained-result bytes for asynchronous queries

Abierto
#5,804 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
30/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
java
Área
api, backend

Línea de trabajo

Start with follow-up #5765 and the existing AsyncQueryExecution contract. Work out the per-node budget, byte measurement, terminal behavior, and exactly-once reserve/release paths across completion, DELETE, expiration, startup abort, owner shutdown, and races. Done means metrics and concurrency tests cover retained-byte usage and rejected retention without changing the execution contract.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

async enhancement PPL

Follow-up to #5765.

Problem

The first asynchronous PPL API implementation limits retained jobs by count and relies on plugins.query.size_limit for row count. Neither limit bounds retained bytes. A successful retained job keeps its result object graph reachable until DELETE, expiration, or shutdown, so a small number of wide rows or large string values can consume substantial heap. plugins.query.memory_limit protects execution-time heap pressure but does not account for retained results.

Scope

  • Define a per-node retained-result byte budget and setting.
  • Define the byte measurement used for admission (for example, serialized result size versus an explicit heap estimate).
  • Define terminal job behavior when a completed result cannot be retained within the budget.
  • Reserve and release capacity exactly once across completion, DELETE, expiration, startup abort, owner shutdown, and races between them.
  • Add metrics and concurrency tests for retained-byte usage and rejected retention.
  • Preserve the existing AsyncQueryExecution contract; execution producers should not depend on lifecycle retention policy.

Out of scope

Result paging or delta delivery remains separate work.

Lenguaje dominante
Java
Estrellas
175
Forks
233
Merge medio
2 d 19 h
PR fusionados (30 d)
37

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de opensearch-project/sql

Todos los issues de opensearch-project/sql

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.