A served table can gain or lose rows without a change reaching the feed (partition maintenance, INHERITS)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- Over a week
- Newbie friendliness
- 38/100
Research direction
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.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- Rust
- Stars
- 129
- Forks
- 7
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 5
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from juspay/streamgres
-
Make the top-L client diff cost depend on what changed, not on the limitPossibly taken @SahilKhan101 claimed this 2 days ago. Openenhancement
juspay/streamgres#64 · 1 assignee ·
Maintainers usually reply within 1 day
-
Query optimisation: share initial snapshots across LIMIT variants of the same query (donor windows)Possibly taken @sprihaanand-juspay claimed this 3 days ago. Open
juspay/streamgres#58 · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
juspay/streamgres#55 ·
Maintainers usually reply within 1 day
-
PgBouncer transaction pooling: `prepare` runs outside the read transaction and can land on another backendPossibly taken @sprihaanand-juspay claimed this 6 days ago. Open
juspay/streamgres#53 · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
juspay/streamgres#49 ·
Maintainers usually reply within 1 day
All issues in juspay/streamgres
Similar issues
-
Test connection's password prompt says the password is never saved, also for a keychain profileOpenbug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
area: settings bug Haiku review: no-score ui
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
MMFoundation/WallpaperMachine#346 ·
Maintainers usually reply within 1 day
-
Make the HTTP server's keep-alive and headers timeouts configurablePossibly taken @mattgodbolt claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
compiler-explorer/compiler-explorer#9902 ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
jonathanong/no-mistakes#5490 ·
-
follow-up
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day