Alexey Serbin has submitted this change and it was merged. (
http://gerrit.cloudera.org:8080/18300 )
Change subject: [tablet] output more info for long row lock waits
......................................................................
[tablet] output more info for long row lock waits
While troubleshooting one performance issue, I found that the messages
on long-wait row locks didn't provide a lot of useful information
especially when log redaction was on (it's on by default).
This patch address that, so now it's easier to tell:
* what's the tablet where the congestion happens
* whether recurrent messages are about the same primary key
as for prior messages
Before:
Waited 2 seconds to obtain row lock on key <redacted> cur holder: 0x2f2e85180
After:
Waited 2 seconds to obtain row lock on key '<redacted>' (key hash
8560710080558783806) tablet 18b47e40a6864ff39d1d82accf7202ec cur holder
0x2f2e85180
Change-Id: I521976ff6986676ad9a33a810c56eaa8e7deeab8
Reviewed-on: http://gerrit.cloudera.org:8080/18300
Tested-by: Kudu Jenkins
Reviewed-by: Andrew Wong <[email protected]>
---
M src/kudu/tablet/lock_manager.cc
M src/kudu/tablet/tablet_replica-test.cc
2 files changed, 71 insertions(+), 5 deletions(-)
Approvals:
Kudu Jenkins: Verified
Andrew Wong: Looks good to me, approved
--
To view, visit http://gerrit.cloudera.org:8080/18300
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I521976ff6986676ad9a33a810c56eaa8e7deeab8
Gerrit-Change-Number: 18300
Gerrit-PatchSet: 2
Gerrit-Owner: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Alexey Serbin <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)