Skip to content

feat: add primary only plugin#826

Merged
levkk merged 6 commits intomainfrom
levkk-plugin-for-hot-tables
Mar 13, 2026
Merged

feat: add primary only plugin#826
levkk merged 6 commits intomainfrom
levkk-plugin-for-hot-tables

Conversation

@levkk
Copy link
Collaborator

@levkk levkk commented Mar 12, 2026

pgdog=# EXPLAIN SELECT * FROM sessions;
                               QUERY PLAN                               
------------------------------------------------------------------------
 Seq Scan on sessions  (cost=0.00..32.60 rows=2260 width=8)
 
 PgDog Routing:
   Summary: shard=0 role=primary
   Shard 0: SELECT omnishard round robin
   Note: plugin pgdog_primary_only_tables adjusted routing role=primary
(6 rows)

#823

@levkk levkk changed the title Levkk plugin for hot tables feat: add primary only plugin Mar 12, 2026
@codecov
Copy link

codecov bot commented Mar 12, 2026

Codecov Report

❌ Patch coverage is 6.31579% with 89 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pgdog/src/plugin/mod.rs 0.00% 38 Missing ⚠️
pgdog-plugin/src/logging.rs 0.00% 33 Missing ⚠️
pgdog-plugin/src/plugin.rs 0.00% 18 Missing ⚠️

📢 Thoughts on this report? Let us know!

@levkk levkk merged commit 7da3e49 into main Mar 13, 2026
9 checks passed
@levkk levkk deleted the levkk-plugin-for-hot-tables branch March 13, 2026 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant