djveremix / redis

Automatically exported from code.google.com/p/redis
0 stars 0 forks source link

WATCH command doesn't work #297

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
turtlelap:redis-2.0.0-rc4 turtle$ ./redis-cli
redis> set foo bar
OK
redis> get foo
"bar"
redis> watch foo
(error) ERR unknown command 'watch'
redis> 

What version of the product are you using? On what operating system?
Redis 2.0.0-rc4, Mac OS X 10.6.4

Original issue reported on code.google.com by theturtl...@gmail.com on 2 Aug 2010 at 12:56

GoogleCodeExporter commented 8 years ago
Are you sure you're connecting to the correct instance of Redis?
Try running INFO.

Original comment by damian.j...@gmail.com on 2 Aug 2010 at 2:07

GoogleCodeExporter commented 8 years ago
redis> watch foo
(error) ERR unknown command 'watch'
redis> info
redis_version:1.3.17
redis_git_sha1:00000000
redis_git_dirty:0
arch_bits:64
multiplexing_api:kqueue
process_id:16215
uptime_in_seconds:32445
uptime_in_days:0
connected_clients:10
connected_slaves:0
blocked_clients:0
used_memory:1107776
used_memory_human:1.06M
changes_since_last_save:28
bgsave_in_progress:0
last_save_time:1280719064
bgrewriteaof_in_progress:0
total_connections_received:28
total_commands_processed:4084
expired_keys:0
hash_max_zipmap_entries:64
hash_max_zipmap_value:512
pubsub_channels:2
pubsub_patterns:0
vm_enabled:0
role:master
db0:keys=9,expires=0
db2:keys=2,expires=0
db6:keys=1,expires=0
db7:keys=10,expires=0
db8:keys=2,expires=0
redis> 

Original comment by theturtl...@gmail.com on 2 Aug 2010 at 3:22

GoogleCodeExporter commented 8 years ago
WATCH is post 2.0, as mentioned here: 
http://code.google.com/p/redis/wiki/MultiExecCommand

Original comment by pcnoordh...@gmail.com on 2 Aug 2010 at 6:42

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
same error

Original comment by dantalianONi on 30 Jun 2013 at 4:15

GoogleCodeExporter commented 8 years ago
solved after install from http://redis.io/download this 
http://redis.googlecode.com/files/redis-2.4.18.tar.gz

Original comment by dantalianONi on 30 Jun 2013 at 4:45