Uploaded image for project: 'Couchbase C client library libcouchbase'
  1. Couchbase C client library libcouchbase
  2. CCBC-64

PHP Client reports Time Out errors on simple SET and GET operations when Rebalance is in Progress


    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.2
    • Fix Version/s: 1.0.4
    • Component/s: library
    • Security Level: Public
    • Labels:
    • Environment:
      Centos5x OR Ubuntu 11x running Couchbase 1.8.0. 3 Node Cluster, plenty of available RAM and DISK. PHP 5.3. libcouchbase version 1.0.3-1


      This bug is reported by a customer. Whenever they issue a rebalance(after removing a node from the cluster or add a new node), client operations(PHP - sample code attached) time out with the error below

      PHP Warning: Couchbase::set(): Failed to store a value to server: Operation timed out in /root/test_worker.php on line <n>

      This issue is consistent for both the customer as well as our in-house reproduction in Support. There are no errors on the server side. Rebalance does complete. And once rebalance is complete, the same script runs fine without any errors.

      1. report.pdf
        75 kB
        Sergey Avseyev
      2. test_worker.php
        0.2 kB
        Hari Subramaniam
      # Subject Project Status CR V
      For Gerrit Dashboard: &For+CCBC-64=message:CCBC-64



          • Assignee:
            jan Jan Lehnardt (Inactive)
            hari Hari Subramaniam (Inactive)
          • Votes:
            0 Vote for this issue
            1 Start watching this issue


            • Created:

              Gerrit Reviews

              There are no open Gerrit changes