Renaming "monitor" changes the way it works

34 views
Skip to first unread message

Haluk AKIN

unread,
Sep 17, 2012, 3:06:49 AM9/17/12
to redi...@googlegroups.com
Hello,

We are running redis version: 2.4.15

We just tested renaming some commands using redis.conf.
Below is the line for the monitor command:
rename-command MONITOR TESTMONITOR

After restarting redis we tried "testmonitor" and it can only bring back one line of of monitoring and stops immediately after one line.

redis 127.0.0.1:6379> testmonitor
1347865489.723073 "HGETALL" "users_hash:1536572"
redis 127.0.0.1:6379>


Does any one else have the same problem?
Any solutions?

Thanks,
Haluk

Josiah Carlson

unread,
Sep 18, 2012, 1:48:06 AM9/18/12
to redi...@googlegroups.com
My guess: Redis-cli only expects one response from the server for
commands that aren't "MONITOR" (and maybe "SYNC").

- Josiah
> --
> You received this message because you are subscribed to the Google Groups
> "Redis DB" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/redis-db/-/LjuC5USF4HQJ.
> To post to this group, send email to redi...@googlegroups.com.
> To unsubscribe from this group, send email to
> redis-db+u...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/redis-db?hl=en.

Haluk AKIN

unread,
Sep 18, 2012, 9:10:19 AM9/18/12
to redi...@googlegroups.com
Thanks a lot Josiah,

I guess you are right.

When I don't use redis-cli I do not run into this problem.

Thank you,
Haluk
Reply all
Reply to author
Forward
0 new messages