gregoriusxu / booksleeve

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

Redis command: Client List #22

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Is there any reason that the client list command 
(http://redis.io/commands/client-list) is not implemented?
I need it in order to identify slaves in run time (by grepping flags=S).
I think it also might be useful in the ConnectionUtils you've added 
(http://code.google.com/p/booksleeve/source/browse/BookSleeve/ConnectionUtils.cs
). Use it instead of receiving all slaves configurations.

What is the expected output? What do you see instead?
public Task<string> GetClientList()

What version of the product are you using? On what operating system?
Booksleeve v1.1.05 with Redis server v2.4.15 on Ubuntu 12.04

Original issue reported on code.google.com by sagie.sh...@picscout.com on 6 Aug 2012 at 8:02

GoogleCodeExporter commented 8 years ago
The reason ConnectionUtils doesn't use this is that is also interested in nodes 
that *should* be connected *but aren't*, but yes this could be a simple and 
handy addition.

Original comment by marc.gravell on 6 Aug 2012 at 8:40

GoogleCodeExporter commented 8 years ago

Original comment by marc.gravell on 17 Oct 2012 at 1:18