Skip to content

fix weight to 1001#209

Open
zlcnju wants to merge 1 commit intopercona:v2.0from
zlcnju:v2.0
Open

fix weight to 1001#209
zlcnju wants to merge 1 commit intopercona:v2.0from
zlcnju:v2.0

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

Development

Successfully merging this pull request may close these issues.

2 participants