Skip to content

Add db route - #515

Open
tengattack wants to merge 3 commits into
flike:masterfrom
tengattack:patch/db-route
Open

Add db route#515
tengattack wants to merge 3 commits into
flike:masterfrom
tengattack:patch/db-route

Conversation

@tengattack

@tengattack tengattack commented May 7, 2019

Copy link
Copy Markdown

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

shrhawk-entertainer commented Jan 15, 2020

Copy link
Copy Markdown

@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
Copy Markdown
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