-
Notifications
You must be signed in to change notification settings - Fork 473
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 unmatched iterator in Cluster::SetClusterNodes
#646
Conversation
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.
LGTM, good catch!
Hi @PragmaTwice is there a bug? what is its danger? |
Yeah, it is an undefined behavior (to compare iterators from different containers), so the compiler and the standard library implementation can literally do anything, e.g. either return true or false, or even spend $1 from your mastercard 🤣 althought maybe libstdc++ and libc++ will not do that. |
@ShooterIT I think we can disable the test cases which failed frequently before finding the root cause, how do you think? |
@git-hulk if so, we should hold a pinned issue to investigate and move forward fixing them. |
OK, I'll submit an issue to find out those test cases, then submit another issue to track them. |
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.
my bad 🤦♂️ different variables
Thanks everyone. Merging... |
No description provided.