1378 Commits

Author SHA1 Message Date
Pieter Noordhuis
02fb4e921d Don't execute commands for clients when they are unblocked 2010-12-06 16:39:39 +01:00
Pieter Noordhuis
845da0b0d3 Fix case and indent 2010-12-06 16:04:42 +01:00
Pieter Noordhuis
0e83e79f73 Check other blocked clients when value could not be pushed 2010-12-06 16:04:10 +01:00
Pieter Noordhuis
778e9f7cb8 Move code for pushing on a (blocking) RPOPLPUSH 2010-12-06 14:48:58 +01:00
Pieter Noordhuis
58e59db7b5 Rename blpop_blocked_clients to bpop_blocked_clients 2010-12-06 14:05:01 +01:00
Pieter Noordhuis
5e9adbdeb1 Move timeout logic 2010-12-06 13:45:48 +01:00
Pieter Noordhuis
fd23f4612e Merge branch 'master' into brpoplpush 2010-12-06 12:31:56 +01:00
antirez
83fac5eeea added support for ctrl-l and clear command into redis-cli. To clear the screen is a good idea from time to time :). Also linenoise updated to the current version to support this new feature. 2010-12-01 11:18:59 +01:00
antirez
83696b5d4a minor merge conflicts merging cli-help branch fixed 2010-11-30 11:39:55 +01:00
Michel Martens & Damian Janowski
c126fa01bb Fix BRPOPLPUSH behavior for all use cases. 2010-11-29 23:52:07 -03:00
Damian Janowski & Michel Martens
a8ad4e3b1d Adhere to conventions. 2010-11-29 23:52:07 -03:00
Damian Janowski & Michel Martens
60ea6205b7 Rename bstate to bpop. 2010-11-29 23:52:07 -03:00
Damian Janowski & Michel Martens
d754ed676a Remove warning. 2010-11-29 23:52:07 -03:00
Damian Janowski & Michel Martens
20cea44779 Handle BRPOPLPUSH inside a transaction. 2010-11-29 23:52:07 -03:00
Damian Janowski & Michel Martens
6902b0c2d0 Refactor code for BRPOPLPUSH. 2010-11-29 23:52:07 -03:00
Damian Janowski & Michel Martens
c8454233e4 Move to struct. 2010-11-29 23:52:07 -03:00
Damian Janowski & Michel Martens
f1e2a70b23 BRPOPLPUSH. 2010-11-29 23:52:07 -03:00
Damian Janowski & Michel Martens
74b37889c1 Fix case in RPOPLPUSH. 2010-11-29 23:52:07 -03:00
Pieter Noordhuis
ac62018b87 Minor update to linenoise 2010-11-29 20:53:57 +01:00
Pieter Noordhuis
a074c2c8ba Refactor and support help for command names with spaces 2010-11-29 20:26:32 +01:00
Pieter Noordhuis
bbcfaf0114 Use linenoise completion API from redis-cli 2010-11-29 19:27:36 +01:00
Pieter Noordhuis
473ed93b3f Update linenoise 2010-11-29 19:27:06 +01:00
antirez
1bb935b912 quick and dirty fix for hiredis bug creating problem with the new redis-cli connect commmand. Also change prompt when redis-cli is not connected 2010-11-29 12:20:17 +01:00
antirez
d50a6adcbf new redis-cli command connect 2010-11-29 12:17:55 +01:00
antirez
a49210ddb3 gitignore now includes a few more files 2010-11-29 11:14:57 +01:00
Pieter Noordhuis
c99c78f359 Refactor help-related code into redis-cli.c 2010-11-28 21:37:19 +01:00
Pieter Noordhuis
a3b60c15da Update help.h generator script to output man-style argument list 2010-11-28 17:45:58 +01:00
Pieter Noordhuis
a2fe52659a Merge remote branch 'visionmedia/cli-help' into cli-help 2010-11-26 20:46:42 +01:00
Pieter Noordhuis
414a08a4f3 Don't hardcode make to "make" 2010-11-21 16:44:17 +01:00
Pieter Noordhuis
e127bd9c53 Stop using /dev/null to find out the serialized object length
Now the rdbSave* functions return the number of bytes written (or
required to write) in serializing a Redis object, writing to /dev/null
and using ftell (which doesn't work on FreeBSD) isn't needed anymore.
2010-11-21 16:31:27 +01:00
Pieter Noordhuis
47ddeec2dd Wrapper around fwrite to make API consistent 2010-11-21 16:12:25 +01:00
Pieter Noordhuis
f73971ae53 Return number of bytes written from rdbSave* functions 2010-11-21 16:07:46 +01:00
Tj Holowaychuk
d268e36a27 Added redis-cli interactive help support
updated via commands.json in redis-doc repo. Currently
use `make src/help.h` to re-generate. The following
are valid from the REPL:

  help
  help [command]
  help [group]
  help groups

ex:

  help sort
  help hash
2010-11-16 05:50:26 -08:00
antirez
f1d7eea704 added a few more files to gitignore 2010-11-15 15:50:41 +01:00
antirez
dea1672cf3 Fix for bug 374, thanks to Jeremy Zawodny for reporting and tracing why it was crashing. 2010-11-12 20:02:20 +01:00
antirez
eef979cb95 volatile-lru maxmemory policy segfault fixed, thanks to Anthony Lauzon for reporting the problem with the patch. Original patch modified a bit in order to avoid the double lookup if the policy is allkeys-lru 2010-11-11 13:19:17 +01:00
antirez
0c95631468 now redis-cli is able to show the Git SHA1 in the version output 2010-11-08 16:26:02 +01:00
antirez
e2759a75b5 make sure to flush stdout every line read in monitor mode, to play well with redirection to file 2010-11-08 16:14:15 +01:00
antirez
c9d5275fe0 added noeviction policy to redis maxmemory. ZSCORE removed from the list of commands that can't be called when we are low on memory, this command was added in the past for a stupid error. 2010-11-08 16:12:16 +01:00
antirez
9cd35bb884 build redis-server at the end so have a more pleasing to see Make output and the advice to run the test suite at the end. 2010-11-08 13:19:58 +01:00
antirez
57335c3f21 fixed compilation with 32bit target 2010-11-08 12:53:36 +01:00
antirez
2ccb7c9f4f non blocking loading of the DB / AOF with informations and ETA in INFO output 2010-11-08 11:52:03 +01:00
Pieter Noordhuis
8cf76dfadf Update hiredis 2010-11-05 17:24:48 +01:00
Pieter Noordhuis
6c35e8dffa Only cascade clean target to deps 2010-11-05 17:22:16 +01:00
antirez
a34f7bdcb0 version bumped to 2.1.7 after merging with aaslave branch for non blocking slaves 2010-11-05 11:00:20 +01:00
antirez
256d79408b Merge branch 'aaslave' 2010-11-05 10:59:49 +01:00
antirez
17e642c115 version bumped to 2.1.6 2010-11-05 10:57:53 +01:00
antirez
a564a747cb Merge remote branch 'pietern/benchmark' 2010-11-05 10:29:59 +01:00
Pieter Noordhuis
9561caf0d9 Use multi-bulk protocol in SET benchmark 2010-11-05 10:22:52 +01:00
antirez
9218b569f0 config option to select if when replication link with master a slave should or not serve stale data 2010-11-04 19:59:21 +01:00