Closed andrea-dintino closed 2 years ago
@andrea-dintino the string type encoding should not be used on binary data. Also I am sure redis will not accept a json structure, it is k/v only and the way to save a struct in it is to encode it base64
Redis accepts a JSON without problem. The crash happens after a non-deterministic amount of executions of the same scripts... the first it runs, the 2nd maybe and so on
Fixed now
The script below, after a few executions, returns the error:
The script:
When it breaks, the key in Redis contains the value:
{"string_array":[{"random_object":"�\t�Г��}�ڡ+<v�C�y)Z�\u0002\u0014��\u0017�"}]}