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

server: defer gossip start to when absolutely needed #53800

Merged
merged 1 commit into from
Sep 3, 2020

Conversation

irfansharif
Copy link
Contributor

This was pulled out of #52526 to keep the diff there focussed on the
introduction of the RPC (and to see if that alone shaked out any
failures). That change lets us make this one, were we can defer gossip
start until right before we start up Node.

Release justification: low risk, high benefit change to existing functionality
Release note: None

@irfansharif irfansharif requested a review from tbg September 2, 2020 00:07
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Member

@tbg tbg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 2 of 2 files at r1.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained (waiting on @irfansharif)


pkg/server/node.go, line 615 at r1 (raw file):

}

// startGossipping loops on a periodic ticker to gossip node-related

nit throughout: it's gossiping (I only know because I've messed this up like a thousand times during my tenure here)

This was pulled out of cockroachdb#52526 to keep the diff there focussed on the
introduction of the RPC (and to see if that alone shaked out any
failures). That change lets us make this one, were we can defer gossip
start until right before we start up Node.

Release justification: low risk, high benefit change to existing functionality
Release note: None
@irfansharif irfansharif force-pushed the 200901.defer-gossip-start branch from fe1f6b6 to 0b54595 Compare September 3, 2020 19:21
Copy link
Contributor Author

@irfansharif irfansharif left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 1 of 2 files at r1, 1 of 1 files at r2.
Reviewable status: :shipit: complete! 0 of 0 LGTMs obtained


pkg/server/node.go, line 615 at r1 (raw file):

Previously, tbg (Tobias Grieger) wrote…

nit throughout: it's gossiping (I only know because I've messed this up like a thousand times during my tenure here)

Done (ha).

@irfansharif
Copy link
Contributor Author

bors r+

@craig
Copy link
Contributor

craig bot commented Sep 3, 2020

Build succeeded:

@craig craig bot merged commit fcb30c7 into cockroachdb:master Sep 3, 2020
@irfansharif irfansharif deleted the 200901.defer-gossip-start branch September 3, 2020 21:04
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