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

random burst of failed set operations returning false , with getResultCode==0 and no CouchbaseException thrown

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.0.0-dp1
    • None
    • library
    • Security Level: Public
    • None
    • centos, apache2+mod_php, couchbase php ext 1.2.1

    Description

      WE have a cluster of about 100 apache+php servers accessing a couchbase cluster.
      There are between 30K-100K operations to the cluster depending on time of the day,
      of which 0.5K-1.5K are "set" operations and rest are "get"s.
      Every several minutes some random php server starts to get bursts of failed "set" opertations, which return "false" (while the rest of the servers are just fine).
      These burst may lasts from a several seconds to several minutes (also same node has high chances of getting several such burst every several minutes), during these burst only some portion of the "set"s fail.
      Then inspecting the getResultCode it always returns 0 in such cases, and no CouchbaseException is thrown.
      There are other cases then a few operations timeout, but in this case and exception is thrown and we can retrieve 23 result code. So the issue above is really weird.

      relevant php couchbase ext 1.2.1 configs:
      couchbase.config_cache = "/ephemeral/php/couchbase"
      couchbase.skip_config_errors_on_connect = On

      Any clues for debugging the issue?

      Attachments

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

        Activity

          People

            brett19 Brett Lawson
            piavlo Alexander Piavlo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty