Giter Site home page Giter Site logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 20, 2024
I've a test and stuff for this.  Waiting for some feedback for what exactly to 
do in
the error case.

Original comment by [email protected] on 21 Jun 2009 at 7:13

  • Changed state: Accepted

from memcached.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 20, 2024
This is going to be a 1.4 blocker just because it's a protocol specification 
whole
that needs to be filled before the first real one ships.

It's a small hole, but should be covered.

Original comment by [email protected] on 25 Jun 2009 at 10:43

  • Changed state: Started
  • Added labels: Priority-High
  • Removed labels: Priority-Medium

from memcached.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 20, 2024
I defined a new error for this.  My tree is up here:

http://github.com/dustin/memcached/commits/issue48

It's broken down into two parts:

  1) Quick fix to get the right response delivered.
  2) Fixing add_delta to return status instead of text protocol.

Passes all tests on all platforms (except solaris/sparc, which is currently 
down).

Original comment by [email protected] on 28 Jun 2009 at 1:10

from memcached.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 20, 2024
Fix is pushed.  Thanks, Trond!

Original comment by [email protected] on 29 Jun 2009 at 9:27

  • Changed state: Fixed

from memcached.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 20, 2024
i'm not sure which version includes this fix, but both 1.4.3 and 1.4.4 give me 
a status code 0 (SUCCESS) when 
trying to increment non numeric values:

(MyKey has the value "Hello World")

incr MyKey 12, 1, 0
>24 Writing an error: Non-numeric server-side value for incr or decr
>24 Writing bin response:
>24   0x81 0x06 0x00 0x00
>24   0x00 0x00 0x00 0x06
>24   0x00 0x00 0x00 0x2e
>24   0x00 0x00 0x00 0x05
>24   0x00 0x00 0x00 0x00
>24   0x00 0x00 0x00 0x00

Original comment by a%[email protected] on 5 Mar 2010 at 9:32

from memcached.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 20, 2024
I see status code 6 and the error text there.  6 == bad value for incr/decr.  I 
believe this 
is correct.  This change went in as 1.4.0-rc1-2-gcce46e8

Original comment by [email protected] on 6 Mar 2010 at 12:03

from memcached.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 20, 2024
yeah, sorry i forgot that the status is supposed to be 16bit not 8.

Original comment by a%[email protected] on 6 Mar 2010 at 12:07

from memcached.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.