[jira] [Created] (IGNITE-5562) Assertions in TCP discovery SPI when NTP is moving time backwards

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

[jira] [Created] (IGNITE-5562) Assertions in TCP discovery SPI when NTP is moving time backwards

Anton Vinogradov (Jira)
Alexey Goncharuk created IGNITE-5562:
----------------------------------------

             Summary: Assertions in TCP discovery SPI when NTP is moving time backwards
                 Key: IGNITE-5562
                 URL: https://issues.apache.org/jira/browse/IGNITE-5562
             Project: Ignite
          Issue Type: Bug
          Components: general
    Affects Versions: 1.7
            Reporter: Alexey Goncharuk
             Fix For: 2.1


In several places in TcpDiscoverySPI, when metrics are updated, we assert that time is not negative. However, in some cases, this invariant may fail because of time adjustments.

Since a missed metric is not critical for us, we should remove these assertions and replace negative time with 0.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)