Commit Graph

1826 Commits

Author SHA1 Message Date
713b4c5401 new ae.c API to get current events by file descriptor. 2011-11-21 18:37:01 +01:00
51baa1922b added output list and buffer length, query buffer size, to CLIENT LIST output. 2011-11-21 18:36:56 +01:00
f3ac12aac2 code generating the CLIENT LIST output refactored to have a function that is able to render a single client into a client info string. 2011-11-21 18:36:41 +01:00
0b1531e50b Added sdscatsds() to sds.c/h 2011-11-21 18:32:29 +01:00
b1b98c64cc Max log message length set to 4k to avoid truncated INFO output in logs on Redis crash. This is just a workaround and it is handled better in the unstable branch. 2011-11-21 18:32:08 +01:00
cec6b04842 Fix crash on SPARC due to improper alignment of allocated memory
I believe that you should be able to drop 'defined(__sun)' completely
from this clause, as Solaris on x86 hardware probably does not have
strict alignment requirements, but I don't have a way to test that.

Thanks to Jurij Smakov <jurij@wooyd.org>.

Signed-off-by: Chris Lamb <lamby@debian.org>
2011-11-16 18:24:06 +01:00
beb4bacce6 I/O buffer length enlarged 2011-11-11 17:19:57 +01:00
3fac86ff1d set default client timeout to zero inside redis.h as well 2011-11-11 17:16:03 +01:00
18fe946f6a use timeout 0 by default, as this is a common source of problems. 2011-10-31 15:43:23 +01:00
9e68987f53 added more clarifications in redis.conf about ther right value to set as replication timeout. 2011-10-31 11:17:40 +01:00
7e11ca0ae9 Merge pull request #149 from hgfischer/2.4
repl_ping_slave_period and repl_timeout configs
2011-10-31 03:11:17 -07:00
d1387aa64d It is now possible to disable password authentication via CONFIG SET. Thanks to Jan Oberst. This closes issue #171. 2011-10-31 09:57:18 +01:00
7d31a020ea Fixed a memory leak in redis-cli.c 2011-10-28 17:43:43 +02:00
cacab3b1c8 sds.c single quotes support 2011-10-28 17:43:39 +02:00
072a9052c7 Redis 2.4.2 2.4.2 2011-10-26 16:16:33 +02:00
00af23bcbf Merge pull request #154 from florean/2.4
2.4
2011-10-26 04:01:01 -07:00
15c9497280 Clear the AOF rewrite scheduled flag once an AOF rewrite is triggered. Fix for issue #161, probably fixing 159 as well. 2011-10-26 12:55:09 +02:00
45bd4a1853 Better installation info inside README file. 2011-10-23 12:28:31 +02:00
0327d9b8e9 removed a few entries for gitignore 2011-10-23 12:16:30 +02:00
1e81d971dc template files for installation script added 2011-10-23 12:15:02 +02:00
9a3a84bfdf Script to install the server in Ubuntu/Debian added to 2.4 as well. 2011-10-23 11:49:58 +02:00
1126d5aa49 Set errno to 0 before calling strtol. 2011-10-20 18:20:58 -07:00
1fe4cd5de9 fixed source indenting 2011-10-18 19:03:18 -02:00
421f6afd3d fixed typo in comments 2011-10-18 19:01:30 -02:00
7c6da7327f Added repl_ping_slave_period and repl_timeout options support 2011-10-18 18:56:10 -02:00
b6fe152b83 Fix to the previous fix for issue #145, make sure to return only after the event was unregistered. 2011-10-18 17:12:16 +02:00
1270a13667 Fixed a small memory leak I found with valgrind 2011-10-18 14:13:47 +02:00
98f5abb6e3 Return from syncWithMaster() ASAP if the event fired but the instance is no longer a slave. This should fix Issue #145. 2011-10-18 11:09:32 +02:00
ab648d973d 2.4.1 release notes. 2.4.1 2011-10-17 10:46:00 +02:00
5ab72bedb7 version bumped to 2.4.1 2011-10-17 10:43:02 +02:00
9a83d13fb5 revert version bumping to 2.4.1, put in the previous commit for an error. 2011-10-17 10:42:47 +02:00
6662806a26 Regression test for issue #142 added 2011-10-17 10:40:11 +02:00
6e3f1a9e47 FLUSHALL now prevents rdbSave() from resetting the dirty counter, so that the command will get replicated and put inside the AOF. This fixes issue #142 2011-10-17 10:28:57 +02:00
d12f26c231 FLUSHALL will only perform a blocking SAVE if RDB persistence is configured. 2011-10-17 10:25:35 +02:00
a502f48320 2.4.0 Release notes. 2.4.0 2011-10-14 17:54:25 +02:00
0c71939c05 Version bumped to 2.4.0 2011-10-14 17:49:20 +02:00
a4f46f211c Exit with Fatal error at startup if the RDB file signature or version is wrong.
Ref: issue #103
2011-10-14 17:04:24 +02:00
8185c2e9f1 redis-check-dump: RDB version 2 now supported. 2011-10-14 16:52:11 +02:00
71bb31bf16 More informative error when DEBUG RELOAD fails. 2011-10-14 14:30:41 +02:00
c7d23f3ed1 Fix for issue #132. Now AUTH raises an error if no server password is configured. 2011-10-10 22:22:27 +02:00
09cefcfbb3 Added a config directive for a Unix socket mask
Added a configuration directive to allow a user to specify the
permissions to be granted to the Unix socket file.  I followed
the format Pieter and Salvatore discusses in issue #85 (
https://github.com/antirez/redis/issues/85).
2011-10-10 22:08:11 +02:00
1ca8deebef Unlink Unix socket file on shutdown 2011-10-10 22:08:03 +02:00
b7f667b553 Issue #131. stime/utime reported in INFO was inverted. Fixed thanks to Didier Spezia. 2011-10-10 15:29:36 +02:00
067ad37f96 Fix for bug #128 about the RENAME command. 2011-10-10 15:25:28 +02:00
a6e312bf9a Added two new tests for RENAME, currently both will fail because of bug #128. 2011-10-10 15:25:22 +02:00
0e841b998a CONFIG SET/GET support for loglevel 2011-10-06 15:25:53 +02:00
cd0458470e Redis test ports selection made more robust. This prevents the test from hanging if an already bound port is selected but the TCP server listening to it does not cause a protocol error with a Redis client PING. Also base port moved away from the range near to the Redis Cluster gossip ports. 2011-10-04 10:07:29 +02:00
678dbc48fd Compilation fixed on OpenBSD making sure that _XOPEN_SOURCE is set to 700 in fmacros.h 2011-09-29 10:20:26 +02:00
3a91aca033 fixed a small bug that caused redis-cli to segfault when given single numeric parameter greater that zero. 2011-09-21 22:33:01 +02:00
9286ecd767 Release notes for Redis 2.4 RC8 added 2.4.0-rc8 2011-09-21 14:05:36 +02:00