Closed mckelvin closed 9 years ago
@timiblossom can you confirm the issue?
Hi Kelvin.
Thank you for reporting this. I will investigate this. If it is, it is a serious bug that I need to fix immediately.
Did you run this against a single node Dynomite cluster? Otherwise, what was your setup?
Thanks. Minh
Did you run this against a single node Dynomite cluster?
Yes. And here is the setup:
The dynomite is built inside a Docker image
FROM phusion/baseimage:0.9.15
MAINTAINER mckelvin <xxx@gmail.com>
ENV DEBIAN_FRONTEND noninteractive
RUN sed -i 's/archive.ubuntu.com/mirrors.163.com/g' /etc/apt/sources.list
RUN apt-get update && apt-get install -yq \
libevent-dev \
autoconf \
libtool \
make \
libssl-dev
ADD dynomite /tmp/dynomite
RUN cd /tmp/dynomite && \
autoreconf -fvi && CFLAGS="-O3" ./configure --enable-debug=log && \
make && make install && \
rm -rf /tmp/dynomite
/etc/single.yml:
cat etc/single.yml
dyn_o_mite:
dyn_listen: 0.0.0.0:8101
listen: 0.0.0.0:8102
servers:
- theoden:21211:1
tokens: 437425602
secure_server_option: none
pem_key_file: /etc/dynomite/dynomite.pem
Finally, the dynomite process runs via: docker run -p 8102:8102 -p 8101:8101 -p 22222:22222 --rm -v
pwd/etc:/etc/dynomite docker-registry.intra.douban.com/dynomite dynomite -c /etc/dynomite/single.yml -v 6
@mckelvin I ran our python code against Redis itself and get a similar error:
mdo@ubuntu:~/workspace/dynomite/scripts$ python test.py
unexpected response: -ERR unknown command 'delete'\r\n-ERR syntax error\r\n-ERR unknown command '1420276404'\r\n$-1\r\n
Traceback (most recent call last):
File "test.py", line 23, in
Also, I can't find on Redis' set with noreply. Can you point it out to me so I can explore it a bit?
@timiblossom Oh, I forget to mention this:the issue can only be reproduced against memcached(instead of Redis). Redis doesn't even support noreply
.
@mckelvin I confirm that this is a bug on our side and we are working to address it. Thanks
Fixed in master branch.
:beers:
The issue can be reproduced as follows:
I also did the same test on
facebook/mcrouter
andtwitter/twemproxy
. This will only happen onNetflix/dynomite
. So I guess that's a bug.