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

Automate client-side rebalancing

    XMLWordPrintableJSON

Details

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

    Description

      ZOOKEEPER-1355 introduced client-side rebalancing, which is implemented in both the C and Java client libraries. However, it requires the client to detect a configuration change and call updateServerList with the new connection string (see reconfig manual). It may be better if the client just indicates that he is interested in this feature when creating a ZK handle and we'll detect configuration changes and invoke updateServerList for him underneath the hood.

      Reviewboard: https://reviews.apache.org/r/25599/

      Attachments

        1. draft.patch
          7 kB
          Hongchao Deng
        2. draft-2.patch
          8 kB
          Hongchao Deng
        3. draft-3.patch
          24 kB
          Hongchao Deng
        4. draft-4.patch
          27 kB
          Hongchao Deng
        5. ZOOKEEPER-2016.patch
          29 kB
          Hongchao Deng
        6. ZOOKEEPER-2016-v2.patch
          32 kB
          Hongchao Deng
        There are no Sub-Tasks for this issue.

        Activity

          People

            hanm Michael Han
            hdeng Hongchao Deng
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

              Created:
              Updated: