-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[vtadmin] custom discovery resolver #9977
[vtadmin] custom discovery resolver #9977
Commits on Apr 4, 2022
-
1. Register `VtctldServer`, not `VtctlServer`. 2. Abuse `GetKeyspace` to allow the client to inspect the listen address of a given server to use in assertions. 3. Building on (2), stop asserting on proxy.host, which will be going away> Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for ca943a6 - Browse repository at this point
Copy the full SHA ca943a6View commit details -
Add initial proof-of-concept for custom grpc resolver
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 51028f5 - Browse repository at this point
Copy the full SHA 51028f5View commit details -
Add Options for passing through cluster-specific configs to Resolvers
Still need to actually add flags for these, but this will make it easier. Also make some things unexported. Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for d5622ee - Browse repository at this point
Copy the full SHA d5622eeView commit details -
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for f048c6e - Browse repository at this point
Copy the full SHA f048c6eView commit details -
Better, more structured, logging, beginning vtgate/vtsql support
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 640a1d3 - Browse repository at this point
Copy the full SHA 640a1d3View commit details -
More documentation, plus unexport our resolver implementation
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for b594953 - Browse repository at this point
Copy the full SHA b594953View commit details -
Configuration menu - View commit details
-
Copy full SHA for 268d021 - Browse repository at this point
Copy the full SHA 268d021View commit details -
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 34e5684 - Browse repository at this point
Copy the full SHA 34e5684View commit details -
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 2879fa2 - Browse repository at this point
Copy the full SHA 2879fa2View commit details -
Add unit tests for cluster resolver
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for e609389 - Browse repository at this point
Copy the full SHA e609389View commit details -
Add wrappers to detect ResolveNow calls and remove Sleep from test 🎉
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for e0455c5 - Browse repository at this point
Copy the full SHA e0455c5View commit details -
Document improvement ideas. I'll follow-up on these in a second change
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 7c597b0 - Browse repository at this point
Copy the full SHA 7c597b0View commit details -
Add *Addrs variants of discovery for gates and vtctlds
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 5610bba - Browse repository at this point
Copy the full SHA 5610bbaView commit details -
Refactors! Better discoveryFunc abstraction and still update addrs wi…
…th empty list, and tests Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for bd09cd9 - Browse repository at this point
Copy the full SHA bd09cd9View commit details -
Add debug.Debuggable support for resolvers
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 7730366 - Browse repository at this point
Copy the full SHA 7730366View commit details -
Use cluster discovery resolver for vtgate/vtsql as well
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 7431402 - Browse repository at this point
Copy the full SHA 7431402View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39eecaf - Browse repository at this point
Copy the full SHA 39eecafView commit details -
remove waitforready-related flag and config
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 8f296af - Browse repository at this point
Copy the full SHA 8f296afView commit details -
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 68386e0 - Browse repository at this point
Copy the full SHA 68386e0View commit details -
The big refactor to enable configurable resolver options
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 30476f7 - Browse repository at this point
Copy the full SHA 30476f7View commit details -
remove unnecssary discovery call
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 00c30d0 - Browse repository at this point
Copy the full SHA 00c30d0View commit details -
remove WithBlock debugging aid
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for b6e838d - Browse repository at this point
Copy the full SHA b6e838dView commit details -
rename resolver debug fields for consistency
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 453c0b5 - Browse repository at this point
Copy the full SHA 453c0b5View commit details -
Push discovery down to resolver level, update tests
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 419bc96 - Browse repository at this point
Copy the full SHA 419bc96View commit details -
annotate resolver span with addrs
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 2848fe3 - Browse repository at this point
Copy the full SHA 2848fe3View commit details -
add util function for dial addrs
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 3d858b6 - Browse repository at this point
Copy the full SHA 3d858b6View commit details -
Remove .host field as it does not have a use anymore
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for acbadfa - Browse repository at this point
Copy the full SHA acbadfaView commit details -
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for b2b9dd9 - Browse repository at this point
Copy the full SHA b2b9dd9View commit details -
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for bee9bc7 - Browse repository at this point
Copy the full SHA bee9bc7View commit details -
add link to service config docs
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for c46051e - Browse repository at this point
Copy the full SHA c46051eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 71fe85b - Browse repository at this point
Copy the full SHA 71fe85bView commit details -
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 6efd9d8 - Browse repository at this point
Copy the full SHA 6efd9d8View commit details -
Update code to use new target.URL field (all other fields are depreca…
…ted) Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for 3d7ab09 - Browse repository at this point
Copy the full SHA 3d7ab09View commit details -
Signed-off-by: Andrew Mason <andrew@planetscale.com>
Andrew Mason committedApr 4, 2022 Configuration menu - View commit details
-
Copy full SHA for f1bc355 - Browse repository at this point
Copy the full SHA f1bc355View commit details