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

TODOs for refactor in raft module

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      There are several todos in raft module about code rafactoring, fields renaming and removing redundant code:

      • Refactor and remove duplicated code for org.apache.ignite.raft.jraft.core.CliServiceImpl#changePeers
      • TODO in org.apache.ignite.raft.jraft.core.NodeImpl#fillLogEntryPeers method
      • TODO in org.apache.ignite.raft.jraft.core.Replicator#sendEmptyEntries
      • TODO IGNITE-14832 asch drop support for peer index in org.apache.ignite.raft.jraft.entity.PeerId#idx field
      • Remove sharedElectionTimer and sharedVoteTimer in NodeOptions (see todos near the fields)
      • Rename org.apache.ignite.raft.jraft.rpc.ClientService#connect to isAlive
      • Remove deprecated org.apache.ignite.raft.jraft.rpc.RpcClient#checkConnection
      • Rename org.apache.ignite.raft.jraft.option.RpcOptions#rpcConnectTimeoutMs to handshake timeout
      • Remove redundant sync flag in org.apache.ignite.raft.jraft.core.ReplicatorGroupImpl#addReplicator
      • Rename org.apache.ignite.raft.jraft.rpc.impl.ConnectionClosedEventListener to nodeleftlistener

      Ticket was created after decompostion of https://issues.apache.org/jira/browse/IGNITE-14832

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              maliev Mirza Aliev
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: