Reclaim abandoned replication slots without waiting for restart
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Rust
- Star
- 129
- Fork
- 7
- Merge trung bình
- 1 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 5
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của juspay/streamgres
-
Make the top-L client diff cost depend on what changed, not on the limitCó thể đã có người làm @SahilKhan101 đã nhận 2 ngày trước. Đang mởenhancement
juspay/streamgres#64 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Query optimisation: share initial snapshots across LIMIT variants of the same query (donor windows)Có thể đã có người làm @sprihaanand-juspay đã nhận 3 ngày trước. Đang mở
juspay/streamgres#58 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 Hơn một tuần Mức phù hợp với người mới 38/100
juspay/streamgres#56 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
juspay/streamgres#55 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
PgBouncer transaction pooling: `prepare` runs outside the read transaction and can land on another backendCó thể đã có người làm @sprihaanand-juspay đã nhận 6 ngày trước. Đang mở
juspay/streamgres#53 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của juspay/streamgres
Issue tương tự
-
Android: a long press's `contextmenu` event carries no point (`clientX` and `clientY` are 0)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Test connection's password prompt says the password is never saved, also for a keychain profileĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
area: settings bug Haiku review: no-score ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
MMFoundation/WallpaperMachine#346 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
rubys/roundhouse#2473 ·
-
bug mod: quantum info
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Qiskit/qiskit#17699 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày