pelikan icon indicating copy to clipboard operation
pelikan copied to clipboard

Slimcache don't handle correct noreply flag

Open michalbiesek opened this issue 5 years ago • 0 comments

General Information

Slimcache db don't handle correct situation when noreply flag (https://docs.oracle.com/cd/E17952_01/mysql-5.0-en/ha-memcached-interfaces-protocol.html) is set to True value.

Reproduction steps

Use set foo bar command to slimcache with noreply set to True, then send quit command

  • set foo bar ( with noreply flag as True)
  • quit

Additional Information

In slimcache there will be segfault during parsing "quit" in: https://github.com/twitter/pelikan/blob/7e4ef09899724d922273f29a689cb237960c066a/src/protocol/data/memcache/parse.c#L801 Twemcache handle the scenario above correctly

michalbiesek avatar Jul 19 '19 13:07 michalbiesek