Skip to content

storage: improve "range unavailable" log message#45580

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
tbg:unavailable-msg
Mar 2, 2020
Merged

storage: improve "range unavailable" log message#45580
craig[bot] merged 1 commit intocockroachdb:masterfrom
tbg:unavailable-msg

Conversation

@tbg
Copy link
Copy Markdown
Member

@tbg tbg commented Mar 2, 2020

I've had to look at this message on users clusters recently and I found
that it could be more actionable:

  • adjusted the wording to steer enterprise users towards enterprise
    support
  • print the range descriptor
  • print which replicas we think are live
  • log this message as an error instead of a warning (this message
    is always a serious problem that demands immediate attention).

Release note (general change): Improved a debug message that is printed
when a range is unavailable (i.e. unable to accept writes).

I've had to look at this message on users clusters recently and I found
that it could be more actionable:

- adjusted the wording to steer enterprise users towards enterprise
  support
- print the range descriptor
- print which replicas we think are live
- log this message as an error instead of a warning (this message
  is always a serious problem that demands immediate attention).

Release note (general change): Improved a debug message that is printed
when a range is unavailable (i.e. unable to accept writes).
@tbg tbg requested a review from nvb March 2, 2020 15:15
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

Copy link
Copy Markdown
Contributor

@nvb nvb left a comment

Choose a reason for hiding this comment

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

:lgtm_strong:

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

@tbg
Copy link
Copy Markdown
Member Author

tbg commented Mar 2, 2020

bors r=nvanbenschoten

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Mar 2, 2020

Build succeeded

@craig craig bot merged commit 003fa43 into cockroachdb:master Mar 2, 2020
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