Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[PPL] Add retained-result byte accounting for asynchronous queries

オープン
#5,804 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
30/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
java
領域
api, backend

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Java
スター
175
フォーク
233
平均マージ
2日 16時間
マージ済み PR(30日)
39

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

opensearch-project/sql のほかの issue

opensearch-project/sql の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。