Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 1.0.4
    • Fix Version/s: None
    • Component/s: library
    • Security Level: Public
    • Labels:
      None

      Description

      Just opening a bug since I didn't see one already...there's currently no "supported" way to add multiple servers to the Couchbase PHP client instance

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

        Activity

        Hide
        daschl Michael Nitschinger added a comment -

        This should be supported through libcouchbase.

        You can pass in more nodes as "node1:port;node2:port;node3:port".

        If you like to work with arrays:

        $servers = array('node1:port', 'node2:port');
        $cb = new Couchbase(join(';', $servers));

        Show
        daschl Michael Nitschinger added a comment - This should be supported through libcouchbase. You can pass in more nodes as "node1:port;node2:port;node3:port". If you like to work with arrays: $servers = array('node1:port', 'node2:port'); $cb = new Couchbase(join(';', $servers));
        Hide
        mnunberg Mark Nunberg added a comment -

        This is now possible through the ';'-delimited string, or the array constructor option. Once the client is connected, it learns about other servers from the REST JSON stream..

        Show
        mnunberg Mark Nunberg added a comment - This is now possible through the ';'-delimited string, or the array constructor option. Once the client is connected, it learns about other servers from the REST JSON stream..

          People

          • Assignee:
            jan Jan Lehnardt (Inactive)
            Reporter:
            perry Perry Krug
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes