- return $this->checkResult( $key, parent::set( $key, $value, $exptime ) );
+ $result = parent::set( $key, $value, $exptime );
+ if ( $result === false && $this->client->getResultCode() === Memcached::RES_NOTSTORED ) {
+ // "Not stored" is always used as the mcrouter response with AllAsyncRoute
+ return true;
+ }
+ return $this->checkResult( $key, $result );