Bug 1203565 - Unwrap org.infinispan.registry.ScopedKey to make log message better
Summary: Unwrap org.infinispan.registry.ScopedKey to make log message better
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Data Grid 6
Classification: JBoss
Component: Infinispan
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
medium
unspecified
Target Milestone: ER4
: 6.5.0
Assignee: Tristan Tarrant
QA Contact: Martin Gencur
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-19 06:51 UTC by Osamu Nagano
Modified: 2019-04-16 14:44 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-23 12:24:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker ISPN-5252 0 Major Resolved Override toString() of org.infinispan.registry.ScopedKey 2016-04-05 12:01:23 UTC

Description Osamu Nagano 2015-03-19 06:51:53 UTC
A lock request timed out and the target key was dumped, but it was default toString() output of ScopedKey. This is unfriendly to developer. The wrapped original key should be dumped.

~~~
Caused by: org.infinispan.util.concurrent.TimeoutException: Unable to acquire lock after [10 seconds] on key [org.infinispan.registry.ScopedKey@5b6f425] for requestor [GlobalTransaction:<AAA>:1568:remote]! Lock held by [GlobalTransaction:<BBB>:1271:local]
~~~

In LockManagerImpl, such unwrapping has already been implemented for MarshalledValue.  So the same for ScopedKey.


Note You need to log in before you can comment on or make changes to this bug.