Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hset can not update value, sometimes #1921

Closed
reboomc opened this issue Aug 8, 2014 · 4 comments
Closed

hset can not update value, sometimes #1921

reboomc opened this issue Aug 8, 2014 · 4 comments

Comments

@reboomc
Copy link

reboomc commented Aug 8, 2014

version: 2.8.8
client: redis-cli
os: ubuntu 12.04 server lts

memory status:

total used free shared buffers cached
Mem: 1978 1372 606 0 221 484
-/+ buffers/cache: 666 1312
Swap: 4375 0 4375

recent log:

[7761] 08 Aug 12:50:44.072 * RDB: 0 MB of memory used by copy-on-write
[3081] 08 Aug 12:50:44.127 * Background saving terminated with success
[3081] 08 Aug 12:55:45.060 * 10 changes in 300 seconds. Saving...
[3081] 08 Aug 12:55:45.060 * Background saving started by pid 7797
[7797] 08 Aug 12:55:45.113 * DB saved on disk
[7797] 08 Aug 12:55:45.113 * RDB: 0 MB of memory used by copy-on-write
[3081] 08 Aug 12:55:45.160 * Background saving terminated with success
[3081] 08 Aug 13:03:02.193 * 10 changes in 300 seconds. Saving...
[3081] 08 Aug 13:03:02.193 * Background saving started by pid 7806
[7806] 08 Aug 13:03:02.268 * DB saved on disk
[7806] 08 Aug 13:03:02.268 * RDB: 0 MB of memory used by copy-on-write
[3081] 08 Aug 13:03:02.293 * Background saving terminated with success

@badboy
Copy link
Contributor

badboy commented Aug 8, 2014

Can you describe your problem a little bit more? It's not clear what happens and what should happen. The log says nothing and the memory usage looks normal too

@reboomc
Copy link
Author

reboomc commented Aug 8, 2014

@badboy

Thanks for your reply.
my scenario looks like:

HGET name key
old value

and i need update the "old value" to "new value"

HSET name key new_value
0

however HSET executed:

HGET name key
old value

still "old value"

Thanks.

@badboy
Copy link
Contributor

badboy commented Aug 8, 2014

Both HSET and HGET on the same server?

@reboomc
Copy link
Author

reboomc commented Aug 8, 2014

@badboy

yes, the same server

@badboy badboy closed this as completed Jul 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants