You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Ilya Shishkov (Jira)" <ji...@apache.org> on 2022/08/16 11:01:00 UTC

[jira] [Updated] (IGNITE-17537) Make units of 'timeout' and 'duration' more explicit in control.sh --tx output

     [ https://issues.apache.org/jira/browse/IGNITE-17537?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ilya Shishkov updated IGNITE-17537:
-----------------------------------
    Component/s: control.sh

> Make units of 'timeout' and 'duration' more explicit in control.sh --tx output
> ------------------------------------------------------------------------------
>
>                 Key: IGNITE-17537
>                 URL: https://issues.apache.org/jira/browse/IGNITE-17537
>             Project: Ignite
>          Issue Type: Improvement
>          Components: control.sh
>            Reporter: Ilya Shishkov
>            Priority: Major
>              Labels: ise, newbie
>
> Output of {{control.sh --tx}} command produces output of matching transactions, eg.:
> {quote}Matching transactions:
> Tx: [xid=fdc4d720281-00000000-0fd8-0177-0000-000000000012, label=null, state=ACTIVE, startTime=2022-07-06 05:05:07.432, {*}{color:#FF0000}duration=778{color}{*}, isolation=REPEATABLE_READ, concurrency=PESSIMISTIC, topVer=AffinityTopologyVersion [topVer=199, minorTopVer=0], {*}{color:#FF0000}timeout=40000{color}{*}, size=0, ...]
> {quote}
> But, from the above line it is unclear, that in fact, duration is printed in seconds, while timeout is printed in milliseconds. 
> We can improve output in the one of the following ways:
>  # Explicitly append unit for seconds and milliseconds.
>  # Print duration and timeout in same units: both in seconds or both in milliseconds.



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