Details
-
Bug
-
Resolution: Duplicate
-
1.6.0 beta4
-
None
-
Operating System: All
Platform: All
Description
- install one server
- use the web UI to create a new bucket with a new port, such as "b1" on port 11212
- wait awhile for it to quiesce
when you try binary protocol directly against 11210, also, we get (incorrect) Not stored error responses.
>>> import mc_bin_client
>>> c = mc_bin_client.MemcachedClient(host="10.17.1.93",port=11210)
>>> c.sasl_auth_plain("b1", "")
(733836429, 0, 'Authenticated')
>>> c.set("bbb", 0, 0, "222")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "mc_bin_client.py", line 122, in set
return self._mutate(memcacheConstants.CMD_SET, key, exp, flags, 0, val)
File "mc_bin_client.py", line 96, in _mutate
cas)
File "mc_bin_client.py", line 92, in _doCmd
return self._handleSingleResponse(opaque)
File "mc_bin_client.py", line 85, in _handleSingleResponse
cmd, opaque, cas, keylen, extralen, data = self._handleKeyedResponse(myopaque)
File "mc_bin_client.py", line 81, in _handleKeyedResponse
raise MemcachedError(errcode, rv)
mc_bin_client.MemcachedError: Memcached error #5: Not stored
>>> c.get("x")
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "mc_bin_client.py", line 139, in get
parts=self._doCmd(memcacheConstants.CMD_GET, key, '')
File "mc_bin_client.py", line 92, in _doCmd
return self._handleSingleResponse(opaque)
File "mc_bin_client.py", line 85, in _handleSingleResponse
cmd, opaque, cas, keylen, extralen, data = self._handleKeyedResponse(myopaque)
File "mc_bin_client.py", line 81, in _handleKeyedResponse
raise MemcachedError(errcode, rv)
mc_bin_client.MemcachedError: Memcached error #1: Not found
>>>
As an aside, moxi also sees NOT_STORED responses, if you telnet to 11212 (to the newly spawned embedded moxi for bucket "b1") to try and set data using ascii protocol.
Attachments
Issue Links
- duplicates
-
MB-2274 Minimum Bucket size needs to be absolute number
- Resolved