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

cherrypick-1.1: fixes for disabling new-version pings #23008

Merged
merged 2 commits into from
Feb 23, 2018

Conversation

dt
Copy link
Member

@dt dt commented Feb 23, 2018

No description provided.

You can override the updates check or diagnoatics report endpoints via env vars, but overriding them to empty would result in a nil pointer deference crash when the server attempted to check for new versions or send a diagnostics report.
Fixes cockroachdb#22967.

Release note (bug fix): do not crash if COCKROACH_UPDATE_CHECK_URL or COCKROACH_USAGE_REPORT_URL overrides are empty.
If a user has disabled diagnostics reporting, we should assume that that expressed a preference that we not “phone-home” at all, including for the new-version checks.

Release note (general change): disabling diagnostics reporting also disables new version notification checks.
@dt dt requested review from knz and a team February 23, 2018 16:24
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@dt
Copy link
Member Author

dt commented Feb 23, 2018

Same as #23007 except here I did not include the removal of the duplicate setting, as that doesn't seem like something that belongs in a patch release.

@dt dt merged commit 12042f9 into cockroachdb:release-1.1 Feb 23, 2018
@dt dt deleted the nophonehome-1.1 branch February 23, 2018 17:33
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