[ 
https://issues.apache.org/jira/browse/WICKET-7110?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17845974#comment-17845974
 ] 

ASF subversion and git services commented on WICKET-7110:
---------------------------------------------------------

Commit 3360ec3fef0c0d8f3e9824b3617b03db7011eaa8 in wicket's branch 
refs/heads/master from Martijn Dashorst
[ https://gitbox.apache.org/repos/asf?p=wicket.git;h=3360ec3fef ]

WICKET-7110 Feat: add lock holding stack to CouldNotLockPageException

Adds the stack trace of the thread holding the lock of a page in case of
a timeout trying to acquire a lock. This is quite handy when trying to
figure out what caused the CouldNotLockPageException without having to
go sift through logs.


> Add stack trace of lock holding thread in CouldNotLockPageException
> -------------------------------------------------------------------
>
>                 Key: WICKET-7110
>                 URL: https://issues.apache.org/jira/browse/WICKET-7110
>             Project: Wicket
>          Issue Type: Improvement
>            Reporter: Martijn Dashorst
>            Assignee: Martijn Dashorst
>            Priority: Minor
>
> Currently we only log the stack trace of the thread that keeps the lock on 
> the page when we can't claim a lock. It is beneficial to set the cause of the 
> CouldNotLockPageException to an exception that shows the stack trace elements 
> of the thread holding the lock.
> This way you can see in the monitoring what was the cause instead of having 
> to go look for the holding (e.g. slow) page in the logs.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to