Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: unrecognized configuration parameter "shard" #603

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lyang24
Copy link

@lyang24 lyang24 commented Sep 26, 2023

Fix: #492

Noob approach: I think that once the pool sharding regex is set we just pick shard and stopped parsing pgcat custom commands for an example . I refactor the code to swtiched the order of things that such non-custom querys will be assigned on shard if enabled, and set shard/ set shard key will override the assignment.

@lyang24 lyang24 marked this pull request as draft September 26, 2023 06:46
@lyang24 lyang24 force-pushed the fix_command_setting branch from f471b8b to 019c31a Compare September 26, 2023 06:50
@lyang24 lyang24 marked this pull request as ready for review September 28, 2023 05:13
@levkk
Copy link
Contributor

levkk commented Oct 6, 2023

Oh I see what's going on I think. Let me give this PR a more thorough review and I'll get back to you asap.

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.

unrecognized configuration parameter "shard"
2 participants