-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Looks like simple CAS setup doesn't work #139
Comments
You can use ngrep to dump the traffic, and look at STORE and EXISTS responses. From the protocol "spec":
|
I've tried Looks like
I can write tests and fixes for |
Did you ensure that |
I've finally got time to debug that Looks like there are two problems:
After settting |
I've tested simple CAS setup, two parallel python processes updating some key on single shared server:
The
cas()
call never failed.Same test, but with
cas()
replaced byincr()
always gives 2*10^5Python 3.6.3
,python-memcached==1.59
, everything was inside docker-compose setupThe text was updated successfully, but these errors were encountered: