Implement redis native type key via redismodule. but it is overwritten by redis string data type. I think it is a bug.

e.g. 127.0.0.1:6379> seql.push ch1 3 (integer) 0 127.0.0.1:6379> seql.info ch1 1) "Now:1577781119569(ms)" 2) "Retention:Infinity" 3) "Length:1" 4) "CurrIndex:1" 5) "Persistent:false" 6) "SEQList Items" 7) " index:0 ts:1577781114913(-4656)ms value:3"

127.0.0.1:6379> type ch1 seql-type 127.0.0.1:6379> set ch1 a OK 127.0.0.1:6379> type ch1 string 127.0.0.1:6379> get ch1 "a"

Comment From: itamarhaber

Hello @zh1029

This is not a bug, but rather the intended behavior. The documentation for SET says at the top (emphasis mine):

Set key to hold the string value. If key already holds a value, it is overwritten, regardless of its type. Any previous time to live associated with the key is discarded on successful SET operation.

Comment From: zh1029

Hi, Got it. Thanks for the clarification.