microsoftarchive / redis

Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes
http://redis.io
Other
20.78k stars 5.37k forks source link

Redis SET returns True while GET on the key returns None #618

Open soreko opened 5 years ago

soreko commented 5 years ago

When redis is on bind to localhost, and set a (key, value), I get True. Then, get for this key retrieve this value. BUT, when I restart redis with bind on 0.0.0.0 and try to get the key from before, I get no value.

yc51 commented 5 years ago

You should save first before restart! Read config bro!