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 weight to 1001 #209

Open
wants to merge 1 commit into
base: v2.0
Choose a base branch
from
Open

fix weight to 1001 #209

wants to merge 1 commit into from

Conversation

zlcnju
Copy link

@zlcnju zlcnju commented Jul 20, 2021

With the single write and writers_are_readers mode set to yes, the write node will have a weight of 100000 and be added to the reader group. As a result, the reader request will all direct to the writer node(writers_are_readers) because othe readers have a weight of 1000. So, fix the weight to 1001 will distinguish the writer node and has a little effect to the read balance

@it-percona-cla
Copy link

it-percona-cla commented Jul 20, 2021

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants