-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-23171 Ensure region state error messages include server making report (branch-2.1) #777
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
Conversation
…report (branch-2.1)
|
+1 |
|
🎊 +1 overall
This message was automatically generated. |
|
thanks for the review! |
saintstack
left a comment
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.
+1 Great.
| if (LOG.isTraceEnabled()) { | ||
| LOG.trace("Skip online report for region=" + Bytes.toStringBinary(regionName) + | ||
| " while meta is loading"); | ||
| LOG.trace("Skip online report for region={} while meta is loading from server={}", |
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.
region= is redundant.
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.
So is server= ... smile. Who else would be making a report here.
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.
Why would the server making the report be redundant?
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.
If regionName is redundant then why does getMetaRegionFromName take it as an argument?
| } | ||
| } catch (UnexpectedStateException e) { | ||
| LOG.warn(regionNode.toString() + " reported unexpteced OPEN: " + e.getMessage(), e); | ||
| LOG.warn("{} reported unexpteced OPEN: {} sever={}", regionNode.toString(), |
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.
spelling
No description provided.