We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
func (ctx *context) toReplicaGroups(gid int, p *models.Proxy) [][]string { g := ctx.group[gid] switch { case g == nil: return nil case g.Promoting.State != models.ActionNothing: return nil case len(g.Servers) <= 1: return nil }
这里的g.Promoting.State != models.ActionNothing: 会导致停写状态是,主得到的读拓扑是空的,会导致所以的读流量都到主上,这里是出于什么考虑写的呢,有特殊用意吗
The text was updated successfully, but these errors were encountered:
没记错的话,数据迁移过程中,流量都打给主,因为迁移动作是主在执行,访问从可能会访问到更多的不一致数据
Sorry, something went wrong.
#1721 can do pull request to this?
No branches or pull requests
这里的g.Promoting.State != models.ActionNothing: 会导致停写状态是,主得到的读拓扑是空的,会导致所以的读流量都到主上,这里是出于什么考虑写的呢,有特殊用意吗
The text was updated successfully, but these errors were encountered: