Uploaded image for project: 'Ratis'
  1. Ratis
  2. RATIS-979 Ratis streaming
  3. RATIS-1602

Add a ProxiesPool inner class in NettyServerStreamRpc.

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.4.0, 3.0.0
    • server, Streaming
    • None

    Description

      It is better to have DataStreamRequestByteBuf implementing UncheckedAutoCloseable. Then, we can use try-with-resources to release ByteBuf inside DataStreamRequestByteBuf.

      There is a List<Proxies> in NettyServerStreamRpc.  It is better to refactor the code to a new ProxiesPool inner class.

       

      Attachments

        Issue Links

          Activity

            People

              szetszwo Tsz-wo Sze
              szetszwo Tsz-wo Sze
              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 - 0.5h
                  0.5h