-
Notifications
You must be signed in to change notification settings - Fork 3.4k
HBASE-26366 Provide meaningful parent spans to ZK interactions #4459
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
HBASE-26366 Provide meaningful parent spans to ZK interactions #4459
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
| @@ -0,0 +1,313 @@ | |||
| /* | |||
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.
Skimmed the rest of the changes. Spent more time here. LGTM
249a944 to
c17b447
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Apache9
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.
In general I think the approach is fine, my only concern is about passing the span to another thread, as the span may end before its sub spans? I'm not sure if this is a big problem...
hbase-server/src/main/java/org/apache/hadoop/hbase/MetaRegionLocationCache.java
Outdated
Show resolved
Hide resolved
|
FYI I'm working through the branch-2 back-port and it's finding some other places I missed in this patch for master. Will be back. |
c17b447 to
a8a8c9d
Compare
|
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
a8a8c9d to
3c2f637
Compare
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
|
I tracked down the broken test to 313a37f. |
Signed-off-by: Andrew Purtell <[email protected]>
- decouple spawned thread spans from parent thread spans, just in case - ensure all manually-managed spans have a status set - rename/move test to better match its scope
3c2f637 to
b933fca
Compare
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
As of this patch, now every span that's emitted in my unit test has a meaningful parent span, tied back to either a server activity or the ZKWatcher handler pool. PTAL.