Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-23517

Set -> Remove -> Set sequence of KV operations using the same key blocks the client connection

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • 5.0.0
    • 5.0.0
    • memcached
    • Build 5.0.0-2372
    • Untriaged
    • Centos 64-bit
    • Yes

    Description

      Setup:

      • 1 node, 1 bucket, value eviction.

      Test case:

      from couchbase.bucket import Bucket
       
       
      connection_string = 'couchbase://172.23.96.117/bucket-1?password=password'
       
      client = Bucket(connection_string=connection_string)
      client.timeout = 60
       
      key = 'hello'
      value = {'f': 'v'}
       
      client.set(key=key, value=value)
      client.remove(key=key)
      client.set(key=key, value=value)
      

      The second "set" times out after 60 seconds. All subsequent requests on the same connection will fail as well.

      According to tcpdump, memcached acknowledges the request but fails to send response back.

      Performance tests experience massive timeouts because of this issue.

      Attachments

        Issue Links

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

          Activity

            People

              trond Trond Norbye
              pavelpaulau Pavel Paulau (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty