A served table can gain or lose rows without a change reaching the feed (partition maintenance, INHERITS)

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

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

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

評価

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

調査の方向性

Start with DbTable in src/model/schema.rs and the queries that read ordinary tables, then determine how a FROM ONLY flag should be represented. The inheritance change can be completed independently, while partition maintenance still requires maintainer agreement on how the server detects affected subscriptions and signals that their snapshots must be re-read. Done means inherited rows no longer enter the feed unintentionally and partition changes reliably trigger the agreed re-read behavior.

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

説明

I'm taking the inheritance part first, as its own PR: reads of an ordinary table (relkind = 'r') will use FROM ONLY, which needs a flag on DbTable in src/model/schema.rs. Is that change to the model acceptable?

For partition maintenance I'd like to agree on the approach before writing it: stop the server naming the change first, then re-read the affected subscriptions as a follow-up? The trigger currently emits nothing when the published schema is unchanged, so it needs a partition snapshot or an equivalent signal.

主要言語
Rust
スター
129
フォーク
7
平均マージ
1日 19時間
マージ済み PR(30日)
5

環境構築

はじめの一歩

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

juspay/streamgres のほかの issue

juspay/streamgres の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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