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

mc_bin_client doesn't behave properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • 1.6.0 beta2
    • 1.6.0 beta1
    • couchbase-bucket
    • None
    • Operating System: All
      Platform: All

    Description

      If I do a get that involves a background fetch and an increment at the same time, both processes spin indefinately until I hit ^C at which point I get:

      Traceback (most recent call last):
      File "./binaryincr.py", line 6, in ?
      mc.incr("someKey", 1)
      File "/opt/NorthScale/bin/ep_engine/management/mc_bin_client.py", line 109, in incr
      return self.__incrdecr(memcacheConstants.CMD_INCR, key, amt, init, exp)
      File "/opt/NorthScale/bin/ep_engine/management/mc_bin_client.py", line 104, in __incrdecr
      struct.pack(memcacheConstants.INCRDECR_PKT_FMT, amt, init, exp))
      File "/opt/NorthScale/bin/ep_engine/management/mc_bin_client.py", line 87, in _doCmd
      return self._handleSingleResponse(opaque)
      File "/opt/NorthScale/bin/ep_engine/management/mc_bin_client.py", line 80, in _handleSingleResponse
      cmd, opaque, cas, keylen, extralen, data = self._handleKeyedResponse(myopaque)
      File "/opt/NorthScale/bin/ep_engine/management/mc_bin_client.py", line 61, in _handleKeyedResponse
      response += self.s.recv(MIN_RECV_PACKET - len(response))

      Attachments

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

        Activity

          People

            dustin@sallings.org Dustin Sallings (Inactive)
            sektie@gmail.com Randi Harper
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty