Skip to content
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

release-2.1: sql: skip removed nodes in crdb_internal.gossip_nodes #32198

Merged
merged 1 commit into from
Nov 9, 2018

Conversation

mvijaykarthik
Copy link
Contributor

@mvijaykarthik mvijaykarthik commented Nov 9, 2018

Removed nodes have empty info proto. Skip them while processing
rows in crdb_internal.gossip_nodes

Fixes #31696

Release note (bug fix): Fix an error returned by node status after
a new node is added to the cluster at a previous node's address.

@mvijaykarthik mvijaykarthik requested review from a team November 9, 2018 14:18
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@tbg
Copy link
Member

tbg commented Nov 9, 2018

I penciled a release note into the original PR's description, might adding that here as well?

Removed nodes have empty info proto. Skip them while processing
rows in crdb_internal.gossip_nodes

Fixes cockroachdb#31696

Release note (bug fix): Fix an error returned by node status after
a new node is added to the cluster at a previous node's address.
@mvijaykarthik
Copy link
Contributor Author

mvijaykarthik commented Nov 9, 2018

A minor change I had to make in the cherry-pick was remove t as an argument from c.Start()

@tbg
Copy link
Member

tbg commented Nov 9, 2018

bors r+

craig bot pushed a commit that referenced this pull request Nov 9, 2018
32198: release-2.1: sql: skip removed nodes in crdb_internal.gossip_nodes r=tschottdorf a=mvijaykarthik

Removed nodes have empty info proto. Skip them while processing
rows in crdb_internal.gossip_nodes

Fixes #31696

Release note (bug fix): Fix an error returned by node status after
a new node is added to the cluster at a previous node's address.

Co-authored-by: Vijay Karthik <vijay.karthik@rubrik.com>
@craig
Copy link
Contributor

craig bot commented Nov 9, 2018

Build succeeded

@craig craig bot merged commit d6c888d into cockroachdb:release-2.1 Nov 9, 2018
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.

3 participants