Re: Time units of AverageTxCommitTime and AverageTxRollbackTime in CacheMetrics.

2017-10-12 Thread Dmitriy Setrakyan
Absolutely, create a ticket. It would be even better if you picked it up and contributed a fix :) On Wed, Oct 11, 2017 at 6:06 AM, Pavel Pereslegin wrote: > Hello, Igniters. > > > I found that AverageTxCommitTime and AverageTxRollbackTime metrics in > CacheMetrics calculated in milliseconds inst

Time units of AverageTxCommitTime and AverageTxRollbackTime in CacheMetrics.

2017-10-11 Thread Pavel Pereslegin
Hello, Igniters. I found that AverageTxCommitTime and AverageTxRollbackTime metrics in CacheMetrics calculated in milliseconds instead of microseconds as pointed in javadoc (simple reproducer [1]). Seems that it’s happening due to incorrect time units conversion in IgniteTxLocalStateAdapter#onT