Uploaded image for project: 'Couchbase .NET client library'
  1. Couchbase .NET client library
  2. NCBC-36

Enhance intelligence of client to know about all nodes of a cluster for making REST connection

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.9
    • Fix Version/s: backlog-1.0
    • Component/s: library
    • Labels:
      None
    • Sprint:
      Sprint 2 - Feb 5-26 2014, Sprint 4

      Description

      If configured with a single host (a load balancer), the client will pause for 1s everytime it loses this connection. The same thing happens when configured with a list of hosts and the client reaches the end of the list...it pauses for 1s before going back to the top.

      I don't think it's appropriate to ask for the client to constantly spin on trying to make a connection if in fact none can be made.

      Another solution to this would be to have the client be aware of ALL the servers in a cluster (which it gets via the vbucket map info) and be able to try all of them, and/or know which ones are alive so that it doesn't have to wait

      No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

        Hide
        perry Perry Krug added a comment -

        This is also needed when trying to upgrade the entire cluster as IP addresses are changing (mostly in AWS)

        Show
        perry Perry Krug added a comment - This is also needed when trying to upgrade the entire cluster as IP addresses are changing (mostly in AWS)
        Hide
        perry Perry Krug added a comment -

        Has this already been handled with unibrow/CCCP?

        Show
        perry Perry Krug added a comment - Has this already been handled with unibrow/CCCP?
        Hide
        ingenthr Matt Ingenthron added a comment -

        Node IPs only change on reboot in EC2. Well, or if you associate an EIP, but that's administrator controlled, not random.

        .NET has not implemented unibrow yet and may actually get to CCCP first. The phase one for unibrow was Java and libcouchbase, and those two have been done for some time.

        Show
        ingenthr Matt Ingenthron added a comment - Node IPs only change on reboot in EC2. Well, or if you associate an EIP, but that's administrator controlled, not random. .NET has not implemented unibrow yet and may actually get to CCCP first. The phase one for unibrow was Java and libcouchbase, and those two have been done for some time.
        Hide
        perry Perry Krug added a comment -

        I think it's just important to realize the major use case of this would be when replacing all of the nodes in a client's bootstrap list. This might be when swapping all nodes for some reason or another or just happening to rebalance out the nodes that the client has in its list...I don't think that's a corner-case only related to AWS.

        Show
        perry Perry Krug added a comment - I think it's just important to realize the major use case of this would be when replacing all of the nodes in a client's bootstrap list. This might be when swapping all nodes for some reason or another or just happening to rebalance out the nodes that the client has in its list...I don't think that's a corner-case only related to AWS.

          People

          • Assignee:
            ingenthr Matt Ingenthron
            Reporter:
            perry Perry Krug
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:

              Agile

                Gerrit Reviews

                There are no open Gerrit changes