Reclaim abandoned replication slots without waiting for restart
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
調査の方向性
Start by locating the startup slot-cleanup implementation and its tests, then trace where cleanup could run while the process is active. Check the supported PostgreSQL versions and available slot metadata, along with the STREAMGRES_SLOT_CLEANUP_AGE_MS configuration and its documentation. Done means safe cleanup is tested for stale and active slots across supported versions, with retention behavior documented.
索引モデルが issue の本文から書いたものです。
説明
Problem
Replication slots left behind by a crashed process can continue holding WAL. Cleanup currently runs only at startup, only on PostgreSQL 17 (using inactive_since), and only when STREAMGRES_SLOT_CLEANUP_AGE_MS is configured.
Expected behavior
Abandoned slots should be identified and cleaned up reliably, including while the process is running, without relying solely on PostgreSQL 17-specific metadata.
Acceptance criteria
- Slot cleanup can run after startup, not only during initialization.
- The implementation handles supported PostgreSQL versions and their available slot metadata.
- Cleanup age configuration has documented and tested behavior.
- Active slots and slots that should be retained are never removed.
- Tests cover stale slots, active slots, and supported PostgreSQL versions.
- 主要言語
- Rust
- スター
- 129
- フォーク
- 7
- 平均マージ
- 1日 19時間
- マージ済み PR(30日)
- 5
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
juspay/streamgres のほかの issue
-
Make the top-L client diff cost depend on what changed, not on the limit対応中かも @SahilKhan101 が 2 日前に担当しました。 オープンenhancement
juspay/streamgres#64 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Query optimisation: share initial snapshots across LIMIT variants of the same query (donor windows)対応中かも @sprihaanand-juspay が 3 日前に担当しました。 オープン
juspay/streamgres#58 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 1週間以上 初心者へのやさしさ 38/100
juspay/streamgres#56 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
juspay/streamgres#55 ·
メンテナーはふだん 1 日以内に返信
-
PgBouncer transaction pooling: `prepare` runs outside the read transaction and can land on another backend対応中かも @sprihaanand-juspay が 6 日前に担当しました。 オープン
juspay/streamgres#53 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
juspay/streamgres の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Test connection's password prompt says the password is never saved, also for a keychain profileオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 1 日以内に返信
-
area: settings bug Haiku review: no-score ui
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
MMFoundation/WallpaperMachine#346 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
rubys/roundhouse#2473 ·
-
bug mod: quantum info
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Qiskit/qiskit#17699 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信