Uploaded image for project: 'Couchbase PHP client library'
  1. Couchbase PHP client library
  2. PCBC-190

Need documentation on timeouts available for PHP

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.2
    • Fix Version/s: 1.2.0
    • Component/s: docs
    • Security Level: Public
    • Labels:
      None

      Description

      This link: http://www.couchbase.com/docs/couchbase-devguide-1.8/about-client-timeouts.html, states that there aren't any timeouts available for PHP

      The PHP docs don't describe any.

      However, I know that the underlying libcouchbase exposes at least one basic request timeout setting so either the PHP library needs some help exposing that, or it already does and we need to document it.

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

        Activity

        perry Perry Krug created issue -
        Hide
        ingenthr Matt Ingenthron added a comment -

        Trond: Could you please review the existing documentation, recommend where we should put this information, then write up a draft and assign it back to me? Then I can review and get it over to Karen.

        Let's try to do this one very soon.

        Show
        ingenthr Matt Ingenthron added a comment - Trond: Could you please review the existing documentation, recommend where we should put this information, then write up a draft and assign it back to me? Then I can review and get it over to Karen. Let's try to do this one very soon.
        ingenthr Matt Ingenthron made changes -
        Field Original Value New Value
        Assignee Matt Ingenthron [ ingenthr ] Trond Norbye [ trond ]
        ingenthr Matt Ingenthron made changes -
        Fix Version/s 1.1.4 [ 10464 ]
        Hide
        trond Trond Norbye added a comment -

        /**

        • Retrieve the current operation timeout.
          *
        • @return integer The currently used timeout specified in usec
          */
          function getTimeout() {

        }

        /**

        • Specify an operation timeout.
          *
        • The operation timeout is the time it takes from the command is sent
        • to the cluster and the result should be returned back.
          *
        • @param integer $timeout the new operation timeout specified in usec
          */
          function setTimeout($timeout) {

        }

        The keyDurability methods have a timeout parameter, and the view have the connection_timeout parameter one may set.

        Show
        trond Trond Norbye added a comment - /** Retrieve the current operation timeout. * @return integer The currently used timeout specified in usec */ function getTimeout() { } /** Specify an operation timeout. * The operation timeout is the time it takes from the command is sent to the cluster and the result should be returned back. * @param integer $timeout the new operation timeout specified in usec */ function setTimeout($timeout) { } The keyDurability methods have a timeout parameter, and the view have the connection_timeout parameter one may set.
        trond Trond Norbye made changes -
        Assignee Trond Norbye [ trond ] Matt Ingenthron [ ingenthr ]
        trond Trond Norbye made changes -
        Fix Version/s 1.1.4 [ 10464 ]
        Hide
        perry Perry Krug added a comment -

        Thanks Trond. A few more questions:

        -This bug was specifically requested for PHP...can you provide documentation on how to exercise those timeouts through PHP?
        -And is there a separate timeout associated with the initial connection to 8091?
        -Is there any logic/handling of a case where the comet stream becomes un responsive but is not actually reset?

        Show
        perry Perry Krug added a comment - Thanks Trond. A few more questions: -This bug was specifically requested for PHP...can you provide documentation on how to exercise those timeouts through PHP? -And is there a separate timeout associated with the initial connection to 8091? -Is there any logic/handling of a case where the comet stream becomes un responsive but is not actually reset?
        ingenthr Matt Ingenthron made changes -
        Fix Version/s .next [ 11022 ]
        Hide
        ingenthr Matt Ingenthron added a comment -

        Brett: with your recent docs work, you can probably work out what is best for this.

        Show
        ingenthr Matt Ingenthron added a comment - Brett: with your recent docs work, you can probably work out what is best for this.
        ingenthr Matt Ingenthron made changes -
        Assignee Matt Ingenthron [ ingenthr ] Brett Lawson [ brett19 ]
        trond Trond Norbye made changes -
        Component/s library [ 10134 ]
        Show
        brett19 Brett Lawson added a comment - Added section to documentation. https://github.com/couchbaselabs/docs-ng/commit/e5942bbcc1c3414b4698799319beed18b41448de
        brett19 Brett Lawson made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        brett19 Brett Lawson made changes -
        Workflow jira [ 23902 ] Couchbase SDK Workflow [ 44394 ]

          People

          • Assignee:
            brett19 Brett Lawson
            Reporter:
            perry Perry Krug
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes