Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-2080

Reuse LeaderElection executor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Won't Do
    • None
    • None
    • election
    • None

    Description

      When running TestRaftWithNetty#testWithLoad with 5 servers, there were 110 leader election threads as shown below. We should reuse the vote executor.

      $cat threaddump.txt | grep "C-LeaderElection" | wc
           110    1320   25621
      

      Attachments

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 1h 10m
                  1h 10m