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

ITNodeTest.testLeaderStopAndReElectWithPriority is flaky

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-alpha2
    • 3.0.0-alpha3
    • None

    Description

      https://ci.ignite.apache.org/viewLog.html?buildId=6066429&buildTypeId=ignite3_Test_IntegrationTests_IntegrationTests

      https://ci.ignite.apache.org/viewLog.html?buildId=6070466&buildTypeId=ignite3_Test_RunAllTests

      This test was written incorrectly, because it waits that a node which was elected as a leader has to have the longest log, if it has less priority than another.
      But it is a truth only a moment when the node was elected as a leader, and any moment after that, the other node may catch up the leader.
      Need to wait when all nodes will have same log size, that makes a leader election predictable (it will depend on priority).

      Attachments

        Issue Links

          Activity

            People

              v.pyatkov Vladislav Pyatkov
              ascherbakov Alexey Scherbakov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m