One root with a failed refresh makes indexed external view filters refuse for everyone

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

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
postgresql, rust
領域
backend, databases

調査の方向性

Read external_runtime.rs and external_view_query.rs, then trace how refresh outcomes are represented for roots visible to a caller. Add a test for a root whose refresh has permanently ended, and decide whether it counts as covered and is served as unavailable or causes the query to be refused. Done when the test captures the chosen behavior and the filter, sort, and count query outcome is clear.

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

説明

Filters, sorts and counts on an indexed external view return registry-breg/external_view/incomplete unless every root the caller can see has a fresh copy (external_runtime.rs and external_view_query.rs). A root can lack one for good. Its refresh may have ended as denied, refused by retention or out of attempts, or the root may sit outside the worker's row boundary. Then "list licences filtered by holder name" fails for every caller who can see that root.

This is unchanged from main.

Next step: add a test for a root whose refresh has ended for good. Then decide whether such a root counts as covered (served as unavailable) or keeps the whole query refused.

Deferred from #2693.

主要言語
Rust
スター
2
フォーク
0
平均マージ
9時間 48分
マージ済み PR(30日)
151

環境構築

はじめの一歩

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

registrystack/registry-stack のほかの issue

registrystack/registry-stack の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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