Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-5562

Assertions in TCP discovery SPI when NTP is moving time backwards

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7
    • 2.3
    • general
    • None

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            slava.koptilin Vyacheslav Koptilin
            agoncharuk Alexey Goncharuk
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment