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

flushctl evict does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • techdebt-backlog
    • 1.6.4
    • None
    • Security Level: Public
    • None

    Description

      When trying to test paging in of an item, I find the force eviction does not work. flushctl is finding that it doesn't exist, but it clearly does if I ask moxi and it is expected to exist.

      $ ./flushctl 10.2.1.100:11210 evict test
      Traceback (most recent call last):
      File "./flushctl", line 67, in <module>
      c.execute()
      File "/Users/ingenthr/src/ep-engine/management/clitool.py", line 42, in execute
      f[0](mc, *args[2:], **opts._dict_)
      File "./flushctl", line 45, in evict
      mc.evict_key(key)
      File "/Users/ingenthr/src/ep-engine/management/mc_bin_client.py", line 211, in evict_key
      return self._doCmd(memcacheConstants.CMD_EVICT_KEY, key, '')
      File "/Users/ingenthr/src/ep-engine/management/mc_bin_client.py", line 94, in _doCmd
      return self._handleSingleResponse(opaque)
      File "/Users/ingenthr/src/ep-engine/management/mc_bin_client.py", line 87, in _handleSingleResponse
      cmd, opaque, cas, keylen, extralen, data = self._handleKeyedResponse(myopaque)
      File "/Users/ingenthr/src/ep-engine/management/mc_bin_client.py", line 83, in _handleKeyedResponse
      raise MemcachedError(errcode, rv)
      mc_bin_client.MemcachedError: Memcached error #1: Not found.

      $ echo "get test" | nc 10.2.1.100 11211
      VALUE test 1 2
      hi
      END

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            ingenthr Matt Ingenthron
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4h
                4h
                Remaining:
                Remaining Estimate - 4h
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty