Hide
added a comment -
Tried with 2.0.1 build and the latest moxi checkout. Cannot reproduce this issue.
Investigations as follows:
- When issuing an ascii multiget command by supplying a single invalid key (key_len > 250), moxi simply returned an 'END'
- When issuing an ascii multiget command by supplying a mixed of valid and invalid keys, moxi returned results for valid ones and bypassed the invalids. (Actually the binary downstream returned NOOP for these invalid keys, moxi then released the connection resources.)
- Tried 10000 ops, moxi did not crash.
Command used:
MemcachedAsciiClient.getMulti(["aaa","abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghiabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijj", "bbb"])
Show
added a comment - Tried with 2.0.1 build and the latest moxi checkout. Cannot reproduce this issue.
Investigations as follows:
- When issuing an ascii multiget command by supplying a single invalid key (key_len > 250), moxi simply returned an 'END'
- When issuing an ascii multiget command by supplying a mixed of valid and invalid keys, moxi returned results for valid ones and bypassed the invalids. (Actually the binary downstream returned NOOP for these invalid keys, moxi then released the connection resources.)
- Tried 10000 ops, moxi did not crash.
Command used:
MemcachedAsciiClient.getMulti(["aaa","abcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghiabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijabcdefghijj", "bbb"])
> //
> // We should keep processing for a non-quiet
> // terminating response (NO-OP).
> //
> conn_set_state(c, conn_new_cmd);
>
> if (status != 0) {
> assert(it == NULL);
>
> if (status == PROTOCOL_BINARY_RESPONSE_KEY_ENOENT) {
> return; // Swallow miss response.
> }
>
> // TODO: Handle error case. Should we pause the conn
> // or keep looking for more responses?
> //
> assert(false); // <--- THIS IS LINE 774, REFERRED ON THE ERROR MESSAGE :GFERNANDEZ
> return;
> }
>