twitter / pelikan

Pelikan is Twitter's unified cache backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slimcache don't handle correct noreply flag

michalbiesek opened this issue · 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:

switch (req->rstate) {

Twemcache handle the scenario above correctly