I execute
set mykey aa expire mykey 3600 incr mykey incrby mykey 123 incrbyfloat mykey 0.123 on master, the key be replicate to slave but ttl is -1. redis version is 4.0
I think this is a bug
Comment From: daemyungkang
@jiashiwen refer this https://github.com/redis/redis/pull/5817 :)
Comment From: oranagra
@daemyungkang thanks for the reference. @jiashiwen this is fixed in redis 6.0, please upgrade and re-open if you see issues.