[jira] [Created] (IGNITE-12063) Add ability to track system/user time held in transaction

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-12063) Add ability to track system/user time held in transaction

Anton Vinogradov (Jira)
Denis Chudov created IGNITE-12063:
-------------------------------------

             Summary: Add ability to track system/user time held in transaction
                 Key: IGNITE-12063
                 URL: https://issues.apache.org/jira/browse/IGNITE-12063
             Project: Ignite
          Issue Type: Improvement
            Reporter: Denis Chudov
            Assignee: Denis Chudov
             Fix For: 2.8


We should dump user/system times in transaction to log on commit/rollback, if duration of transaction more then threshold. I want to see in log on tx coordinator node:
# Transaction duration
# System time:
#* How long we were getting locks on keys?
#* How long we were preparing transaction?
#* How long we were commiting transaction?
# User time (transaction time - total system time)
# Transaction status (commit/rollback)

The threshold could be set by system property and overwrite by JMX. We shouldn't dump times, if the property not set.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)