Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-2072

Netty Server Should Configure Child Channel Pipeline By Specifying ChannelPipelineFactory

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5.1, 3.6.0
    • Component/s: server
    • Labels:
      None

      Description

      Currently, netty server is setting up child channel in this way:

       bootstrap.getPipeline().addLast("servercnxnfactory", channelHandler);
      

      According to the netty doc,

      you cannot use this approach if you are going to open more than one Channels or run a server that accepts incoming connections to create its child channels.

        Attachments

        1. test-jenkins.patch
          5 kB
          Hongchao Deng
        2. ZOOKEEPER-2072.patch
          5 kB
          Hongchao Deng
        3. ZOOKEEPER-2072.patch
          5 kB
          Hongchao Deng

          Issue Links

            Activity

              People

              • Assignee:
                hdeng Hongchao Deng
                Reporter:
                hdeng Hongchao Deng
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: