[Bug] RedisValue::Bytes
came back as RedisValue::String
after roundtrip to Redis
#289
Labels
bug
Something isn't working
Fred version - 9.1
Redis version - 7.2.4
Platform - mac
Deployment type - centralized
Describe the bug
This might be 2 different bugs combined here:
FromRedis
trait, and send data to Redis matching the implementation (serializing and deserializing itself asbytes::Bytes
/RedisValue::Bytes
), I'm expecting it to come back as bytes. In the following snippet annotated with***** SENDING A BYTE TYPE *****
, you see me send to the pubsub aTileId
type, which convert itself to aRedisValue::Bytes
type. However, on the receiver end, I'm getting it returned to me asRedisValue::String
type.!!!!! SHOULD ERRROR HERE !!!!!
, because the conversion is expecting aRedisValue::Bytes
but gotRedisValue::String
, the error should be propagated and up fromon_message
at the line that saysBIG ERROR
, but I didn't see this print any errors.To Reproduce
Steps to reproduce the behavior:
First run a default redis with
redis-server
, then run this code:Logs
The only line printed:
The text was updated successfully, but these errors were encountered: