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

Alexei Scherbakov commented on IGNITE-8601:
-------------------------------------------

[~a-polyakov],

The fix has compatibility issues with the field "startTime". 

You must take into consideration object's version while reading and writing a 
new field.

For example take a look at org.apache.ignite.internal.visor.cache.VisorCache 
DTO.

Another suggestions:

1. Use static java.time.format.DateTimeFormatter instance stored inside 
VisorTxInfo 

2. Add date to printable text.

3. Add method like String VisorTxInfo.getFormattedStartTime and use it 
everywhere to avoid copy&paste code.




> Add to control.sh tx utility information about transaction start time
> ---------------------------------------------------------------------
>
>                 Key: IGNITE-8601
>                 URL: https://issues.apache.org/jira/browse/IGNITE-8601
>             Project: Ignite
>          Issue Type: Improvement
>    Affects Versions: 2.5
>            Reporter: Dmitry Sherstobitov
>            Assignee: Alexand Polyakov
>            Priority: Major
>             Fix For: 2.6
>
>         Attachments: TC 01 recheck.png, TC 02 recheck.png, TC 03 recheck.png, 
> TC 04 recheck.png, TC 05 recheck.png, TC 06 recheck.png, TC 07-08 rechec.png, 
> TC 09 recheck.png, TC 10 recheck.png, TC 11 recheck.png, TC 12 recheck.png, 
> TC 13 recheck.png, TC 16 recheck.png, TC 17 recheck.png, TC 18 recheck.png, 
> TC part2.png, TC.png
>
>
> This information will be useful



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to