-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Support Alibaba pseudo-cluster configurations #2646
Conversation
How does this affect single node clusters? For example, even in Azure hosting people start with a single cluster node in a lot of cases which makes scaling to |
Untested and it is a good question, but: if the worst side effect here is that we get a server-side "nope" rather than a client-side "nope" in genuine single-server clusters: I'm comfortable with that...? |
I used SELECT as an example, but I think this had many more side-effects such as not detecting when the cluster changes and such. If for example we were viewing this in Opserver…it'd be wrong. Any code basing off cluster or not on top of us has the same downstream fun. Lots of potential there. I'd vote we should not make such an assumption based on node count - likely better for the server-side to not represent itself as a cluster here. |
@NickCraver thanks for keeping me honest; refactored to use the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ADD SOME RELEASE NOTES YOU HEATHEN
@mgravell Thank you for your quick fix. We have verified the 2.7.20 version of MyGet and it works very well. When do you expect to release it to NuGet? After that, we will push users to upgrade. |
Thanks for confirming. I'll discuss release in our weekly sync tomorrow (20th) - assuming there's no known blockers, I expect we'll release to NuGet either end-of-day 20th, or very shortly after |
1: don't treat trivial clusters as clusters - Alibaba uses this config
2: report synchronous failures immidiately and accurately
fix #2642
For context, Alibaba reports from
cluster nodes
as 2 nodes:which confuses things somewhat; this isn't a valid/normal cluster configuration, so: ignore it!
Other relevant metadata:
from
config
:from
info
: