]>
git.saurik.com Git - redis.git/log
antirez [Mon, 17 Oct 2011 08:40:11 +0000 (10:40 +0200)]
Regression test for issue #142 added
antirez [Mon, 17 Oct 2011 08:28:57 +0000 (10:28 +0200)]
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
antirez [Mon, 17 Oct 2011 08:25:35 +0000 (10:25 +0200)]
FLUSHALL will only perform a blocking SAVE if RDB persistence is configured.
antirez [Fri, 14 Oct 2011 14:59:32 +0000 (16:59 +0200)]
Exit with Fatal error at startup if the RDB file signature or version is wrong.
Ref: issue #103
antirez [Fri, 14 Oct 2011 14:52:11 +0000 (16:52 +0200)]
redis-check-dump: RDB version 2 now supported.
antirez [Fri, 14 Oct 2011 12:30:41 +0000 (14:30 +0200)]
More informative error when DEBUG RELOAD fails.
antirez [Thu, 13 Oct 2011 13:16:03 +0000 (15:16 +0200)]
redis-trib: fix for a slot allocation bug.
antirez [Thu, 13 Oct 2011 12:51:29 +0000 (14:51 +0200)]
small comment added
antirez [Mon, 10 Oct 2011 20:21:17 +0000 (22:21 +0200)]
Fix for issue #132. Now AUTH raises an error if no server password is configured.
Salvatore Sanfilippo [Mon, 10 Oct 2011 20:05:16 +0000 (13:05 -0700)]
Merge pull request #126 from florean/unstable
Unlink Unix socket file on shutdown
Nathan Florea [Mon, 10 Oct 2011 18:21:15 +0000 (11:21 -0700)]
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).
antirez [Mon, 10 Oct 2011 13:29:36 +0000 (15:29 +0200)]
Issue #131. stime/utime reported in INFO was inverted. Fixed thanks to Didier Spezia.
antirez [Mon, 10 Oct 2011 13:21:19 +0000 (15:21 +0200)]
Fix for bug #128 about the RENAME command.
antirez [Mon, 10 Oct 2011 10:01:13 +0000 (12:01 +0200)]
Added two new tests for RENAME, currently both will fail because of bug #128.
Nathan Florea [Sun, 9 Oct 2011 07:46:03 +0000 (00:46 -0700)]
Unlink Unix socket file on shutdown
antirez [Sat, 8 Oct 2011 08:58:57 +0000 (10:58 +0200)]
not used parameter for redisLog() removed. Error message grammar fixed.
Thanks to @ardsrk.
antirez [Fri, 7 Oct 2011 14:34:16 +0000 (16:34 +0200)]
Redis Cluster: process node to node CLUSTERMSG_TYPE_PUBLISH messages and send it to the local clients.
antirez [Fri, 7 Oct 2011 13:37:34 +0000 (15:37 +0200)]
propagate PUBLISH messages using the redis cluster nodes bus. Still need to process the incoming packets of that type. Work in progress.
antirez [Wed, 5 Oct 2011 17:55:33 +0000 (19:55 +0200)]
Totally hackish and dirty, but working, support for Redis Cluster in redis-cli
antirez [Wed, 5 Oct 2011 15:40:02 +0000 (17:40 +0200)]
A node can populate a slot if a message from a trusted slot is received claiming ownership of this slot, that is currently empty or served by a node in FAIL state. However this feature was broken since calling clusterAddSlot() was not enough as the slot bit is already set in the node that pong us. We need to directly alter the table. This commit fixes the issue.
antirez [Wed, 5 Oct 2011 14:08:54 +0000 (16:08 +0200)]
Merge remote-tracking branch 'origin/unstable' into unstable
antirez [Wed, 5 Oct 2011 14:08:35 +0000 (16:08 +0200)]
CONFIG SET/GET support for loglevel
antirez [Wed, 5 Oct 2011 14:02:45 +0000 (16:02 +0200)]
just minor aesthetic changes to cluster.c
Salvatore Sanfilippo [Wed, 5 Oct 2011 10:49:52 +0000 (03:49 -0700)]
Merge pull request #118 from dvirsky/unstable
fixes to install scripts
antirez [Tue, 4 Oct 2011 16:43:03 +0000 (18:43 +0200)]
replaced redisAssert() with redisAssertWithInfo() in a shitload of places.
antirez [Tue, 4 Oct 2011 16:05:26 +0000 (18:05 +0200)]
redisAssertWithClientInfo() is now redisAssertWithInfo() that is also able to report an optional object. The client is also optional. Specifying NULL will prevent dumping the not available information (either client or object).
antirez [Tue, 4 Oct 2011 15:22:29 +0000 (17:22 +0200)]
Introduced a redisAssert() variant that is able to show information about the client in the context where the failed assertion was detected.
dvir volk [Tue, 4 Oct 2011 14:58:55 +0000 (16:58 +0200)]
fixes to install script
antirez [Tue, 4 Oct 2011 13:53:07 +0000 (15:53 +0200)]
redis-trib: create subcommand fixed calling node info loading method. Was needed after recent refactoring.
antirez [Tue, 4 Oct 2011 08:05:21 +0000 (10:05 +0200)]
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.
antirez [Mon, 3 Oct 2011 14:04:44 +0000 (16:04 +0200)]
Revert "Use the new install script as make install target. Message about install script requiring root changed a bit to make it more evident."
After talking with Pieter he changed my mind about this, it is better to
have a simpler install script that works everywhere, and the complex one
can be always executed if needed by hand. We'll make possibly a new
target for the full featured installation script, and even suggest it
after a Make install.
This reverts commit
f1e60d75309990b25a1763e004d7044c77c53834 .
antirez [Mon, 3 Oct 2011 13:51:10 +0000 (15:51 +0200)]
Rewrite MIGRATE as DEL for AOF/replication. Also increment the dirty counter to both force replication and persistence.
antirez [Mon, 3 Oct 2011 13:45:14 +0000 (15:45 +0200)]
increment server.dirty in restore command to make sure it is replicated and increments the dirty count for persistence concerns.
Salvatore Sanfilippo [Mon, 3 Oct 2011 13:20:23 +0000 (06:20 -0700)]
Merge pull request #114 from pietern/unstable-zcount
Use rank information to compute ZCOUNT
Pieter Noordhuis [Mon, 3 Oct 2011 12:23:31 +0000 (14:23 +0200)]
Remove ZCOUNT branches from generic RANGEBYSCORE code
Pieter Noordhuis [Mon, 3 Oct 2011 12:14:43 +0000 (14:14 +0200)]
Use element rank instead of iterating in ZCOUNT
antirez [Mon, 3 Oct 2011 11:28:54 +0000 (13:28 +0200)]
Use the new install script as make install target. Message about install script requiring root changed a bit to make it more evident.
dvir volk [Mon, 3 Oct 2011 09:35:30 +0000 (11:35 +0200)]
changed license to gpl BSD. LOL
dvir volk [Mon, 3 Oct 2011 09:29:01 +0000 (11:29 +0200)]
changed license to gpl v3
dvir volk [Mon, 3 Oct 2011 08:58:43 +0000 (10:58 +0200)]
fixes to install script and template
dvir volk [Mon, 3 Oct 2011 08:48:07 +0000 (10:48 +0200)]
Added installer and config template renderer
antirez [Sun, 2 Oct 2011 12:05:29 +0000 (14:05 +0200)]
Exact variant of CRC16 specified into crc16.c
antirez [Sat, 1 Oct 2011 13:11:07 +0000 (15:11 +0200)]
when processing gossip packets make sure to also update the node bitmap when associating slots to nodes. Fixed simply using the appropriate helper function to add a slot.
antirez [Fri, 30 Sep 2011 23:31:46 +0000 (01:31 +0200)]
fixed a few problems with redis-trib resharding.
antirez [Fri, 30 Sep 2011 20:18:07 +0000 (22:18 +0200)]
redis-trib: initial working implementation of cluster rehashing, more work needed to make it more correct, more reliable.
antirez [Fri, 30 Sep 2011 20:17:24 +0000 (22:17 +0200)]
Fixed two bugs in the CLUSTER SETSLOT ... NODE subcommand
antirez [Fri, 30 Sep 2011 17:21:36 +0000 (19:21 +0200)]
redis-trib: actual slot migration work in progress, more work needed.
antirez [Fri, 30 Sep 2011 17:20:56 +0000 (19:20 +0200)]
Clear the importing status from the slot if a CLUSTER SETSLOT command permanently assigns the slot to the importing node.
antirez [Fri, 30 Sep 2011 16:41:25 +0000 (18:41 +0200)]
redis-trib: better slots allocation strategy for resharding
antirez [Fri, 30 Sep 2011 16:28:51 +0000 (18:28 +0200)]
redis-trib: initial slots allocation strategy, still to improve for better balancing when there are just a few slots to move.
antirez [Thu, 29 Sep 2011 14:06:49 +0000 (16:06 +0200)]
redis-trib: reshard command work in progress
antirez [Thu, 29 Sep 2011 13:45:10 +0000 (15:45 +0200)]
redis-trib: minor refactoring creating a method to load the cluster information starting from a single node
antirez [Thu, 29 Sep 2011 13:31:02 +0000 (15:31 +0200)]
redis-trib: don't crash loading node info for nodes without assigned slots
antirez [Thu, 29 Sep 2011 13:26:01 +0000 (15:26 +0200)]
added comment about SETSLOT NODE form.
antirez [Thu, 29 Sep 2011 13:14:06 +0000 (15:14 +0200)]
Fixed command table for RESTORE to make it accepting keys only for the right slots when cluster is enabled.
antirez [Thu, 29 Sep 2011 13:04:23 +0000 (15:04 +0200)]
redis-trib: added cluster state to node info string
antirez [Thu, 29 Sep 2011 12:44:15 +0000 (14:44 +0200)]
redis-trib: all node information into a single hash
antirez [Thu, 29 Sep 2011 11:18:09 +0000 (13:18 +0200)]
redis-trib: when loading node info also fetch the output of CLUSTER INFO.
antirez [Thu, 29 Sep 2011 10:50:46 +0000 (12:50 +0200)]
redis-trib cluster check command: check that all the 4096 slots are covered
antirez [Thu, 29 Sep 2011 08:20:03 +0000 (10:20 +0200)]
Compilation fixed on OpenBSD making sure that _XOPEN_SOURCE is set to 700 in fmacros.h
antirez [Wed, 28 Sep 2011 17:08:35 +0000 (19:08 +0200)]
initial node loading info code for redis-trib
antirez [Wed, 28 Sep 2011 16:28:36 +0000 (18:28 +0200)]
show node with myself flag always as connected in CLUSTER NODES output.
antirez [Wed, 28 Sep 2011 13:55:52 +0000 (15:55 +0200)]
cluster config file entries added to the example configuration file
antirez [Tue, 27 Sep 2011 16:46:23 +0000 (18:46 +0200)]
Scripting engine now only loads selected libraries, using code originally contributed by @loopole.
antirez [Tue, 27 Sep 2011 14:07:38 +0000 (16:07 +0200)]
a few entries removed from the old TODO list (done)
antirez [Tue, 27 Sep 2011 13:39:41 +0000 (15:39 +0200)]
new tests for the scripting engine: not allowed commands and write commands after random commands.
antirez [Tue, 27 Sep 2011 13:30:31 +0000 (15:30 +0200)]
Return errors if a write command is called inside a Lua script after a random command was called. See https://github.com/antirez/redis/issues/95 for more information.
antirez [Tue, 27 Sep 2011 11:57:10 +0000 (13:57 +0200)]
Deny commands flagged as REDIS_CMD_NOSCRIPT from Lua scripts
antirez [Tue, 27 Sep 2011 11:45:46 +0000 (13:45 +0200)]
added the NOSCRIPT and RANDOM command flags
antirez [Mon, 26 Sep 2011 13:40:39 +0000 (15:40 +0200)]
command table refactoring to make it simpler adding new flags
antirez [Fri, 23 Sep 2011 13:40:58 +0000 (15:40 +0200)]
Lua math.random and math.randomseed replaced with our own version based on redisSrand48(). Seed initialized to the same value at every EVAL/EVALSHA call.
antirez [Fri, 23 Sep 2011 13:06:07 +0000 (15:06 +0200)]
Defined macro with bigger number that redisLrand48() can output.
antirez [Fri, 23 Sep 2011 12:51:48 +0000 (14:51 +0200)]
libc neutral random function derived from a drand48() implementation added. Will be used to replace Lua's math.random implementation.
antirez [Thu, 22 Sep 2011 14:00:40 +0000 (16:00 +0200)]
rioInitWithFile nad rioInitWithBuffer functions now take a rio structure pointer to avoid copying a structure to return value to the caller.
antirez [Thu, 22 Sep 2011 13:54:08 +0000 (15:54 +0200)]
make sure to return just 1 for rio.c write when the target is a buffer, as we do when the target is a file.
antirez [Thu, 22 Sep 2011 13:47:48 +0000 (15:47 +0200)]
comment on top of the _rio structure modified for correctness as actually fwrite/fread semantics is different in general, but was 0/1 in our old usage before rio.c as we always used 1 as number items, and the actual number of bytes to read as item length.
antirez [Thu, 22 Sep 2011 13:15:26 +0000 (15:15 +0200)]
merge conflicts resolved
Salvatore Sanfilippo [Wed, 21 Sep 2011 20:32:24 +0000 (13:32 -0700)]
Merge pull request #97 from jvain/redis-cli
redis-cli segfaults with single numeric argument greater than zero
Juri M. Vainonen [Wed, 21 Sep 2011 20:22:14 +0000 (23:22 +0300)]
fixed a small bug that caused redis-cli to segfault when given single numeric parameter greater that zero.
antirez [Wed, 21 Sep 2011 17:13:43 +0000 (19:13 +0200)]
TODO updated
antirez [Tue, 20 Sep 2011 13:34:49 +0000 (15:34 +0200)]
TODO updated after moving more things into the github issues system
antirez [Tue, 20 Sep 2011 12:50:01 +0000 (14:50 +0200)]
TODO updated
antirez [Tue, 20 Sep 2011 09:15:55 +0000 (11:15 +0200)]
no longer valid design documents removed
Salvatore Sanfilippo [Tue, 20 Sep 2011 09:12:14 +0000 (02:12 -0700)]
Merge pull request #72 from datafueled/spelling
Spelling fixes.
Salvatore Sanfilippo [Tue, 20 Sep 2011 09:00:58 +0000 (02:00 -0700)]
Merge pull request #78 from vambo/patch-1
Corrected typo in documentation for R_Zero, R_PosInf, R_NegInf, R_Nan;
Salvatore Sanfilippo [Tue, 20 Sep 2011 08:58:55 +0000 (01:58 -0700)]
Merge pull request #79 from annulen/mac_ppc
Fixed compilation on Mac/PPC
Salvatore Sanfilippo [Tue, 20 Sep 2011 08:55:34 +0000 (01:55 -0700)]
Merge pull request #74 from kmerenkov/issue_620
[issue 620] don't segfault if number of arguments is less than 1
antirez [Tue, 20 Sep 2011 08:48:21 +0000 (10:48 +0200)]
Include port number in error when can't bind lisetning port on startup.
antirez [Mon, 19 Sep 2011 15:49:50 +0000 (17:49 +0200)]
Fixed comment typo
antirez [Mon, 19 Sep 2011 15:06:27 +0000 (17:06 +0200)]
Comment out things in bio.c that are currently not useful but that may be useful in the future.
antirez [Mon, 19 Sep 2011 14:52:13 +0000 (16:52 +0200)]
Emit a log message when AOF fsync is still in progress but we are forced to write from the main thread since two seconds already elapsed.
antirez [Fri, 16 Sep 2011 13:53:01 +0000 (15:53 +0200)]
use aof_fsync wrapper instead of fsync(2) in bio.c
antirez [Fri, 16 Sep 2011 13:44:14 +0000 (15:44 +0200)]
Merge remote-tracking branch 'origin/unstable' into bg-aof-2
antirez [Fri, 16 Sep 2011 13:43:03 +0000 (15:43 +0200)]
commenting out aof-race test for now, waiting for a fix to issue #80
antirez [Fri, 16 Sep 2011 10:36:33 +0000 (12:36 +0200)]
Merge remote-tracking branch 'origin/unstable' into bg-aof-2
antirez [Fri, 16 Sep 2011 10:36:17 +0000 (12:36 +0200)]
fixed flushAppendOnlyFile() function prototype to reflect the new implementation, fixing compilation.
antirez [Fri, 16 Sep 2011 10:35:12 +0000 (12:35 +0200)]
postpone the AOF fsync if policy is everysec and there is a background fsync already going.
antirez [Fri, 16 Sep 2011 10:11:48 +0000 (12:11 +0200)]
Fixed typo preventing compilation
Pieter Noordhuis [Wed, 17 Aug 2011 16:09:01 +0000 (18:09 +0200)]
Failing test related to AOF rewrite buffers
Pieter Noordhuis [Wed, 17 Aug 2011 15:06:19 +0000 (17:06 +0200)]
Enforce upper bound for number of requests in redis-benchmark