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

Add db route #515

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Add db route #515

wants to merge 3 commits into from

Conversation

tengattack
Copy link

@tengattack tengattack commented May 7, 2019

Add db route allow db level routing.

For example, this can limit database node2_db queries to node2 only:

schema_list :
-
    user: root
    nodes: [node1,node2]
    default: node1
    shard:
    -
        db : node2_db
        nodes: [node2]

@shrhawk-entertainer
Copy link

shrhawk-entertainer commented Jan 15, 2020

@tengattack does this support table also?
for example, want to route some tables to a specific node not based on hash or range types

@tengattack
Copy link
Author

@tengattack did this support table also?
for example, want to route some tables to a specific node not based on hash or range types

Sorry, it only supports in database level now.

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.

2 participants