[ https://issues.apache.org/jira/browse/RATIS-366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jitendra Nath Pandey updated RATIS-366: --------------------------------------- Fix Version/s: 0.3.0 > In StateMachineUpdater, the stopIndex should use Long. > ------------------------------------------------------ > > Key: RATIS-366 > URL: https://issues.apache.org/jira/browse/RATIS-366 > Project: Ratis > Issue Type: Bug > Components: server > Reporter: Tsz Wo Nicholas Sze > Assignee: Tsz Wo Nicholas Sze > Priority: Major > Fix For: 0.3.0 > > Attachments: r366_20181023.patch > > > stopIndex is better to use Long since raftLog.getLastCommittedIndex() may > return -1. In such case, updater.join() may not return since the updater > thread is stuck in wait(). > Some tests are failing; e.g. > [https://builds.apache.org/job/PreCommit-RATIS-Build/434/testReport/org.apache.ratis/TestRaftServerLeaderElectionTimeout/testLeaderElectionDetection/] -- This message was sent by Atlassian JIRA (v7.6.3#76005)