]> git.saurik.com Git - redis.git/log
redis.git
13 years agochanged license to gpl BSD. LOL
dvir volk [Mon, 3 Oct 2011 09:35:30 +0000 (11:35 +0200)] 
changed license to gpl BSD. LOL

13 years agochanged license to gpl v3
dvir volk [Mon, 3 Oct 2011 09:29:01 +0000 (11:29 +0200)] 
changed license to gpl v3

13 years agofixes to install script and template
dvir volk [Mon, 3 Oct 2011 08:58:43 +0000 (10:58 +0200)] 
fixes to install script and template

13 years agoAdded installer and config template renderer
dvir volk [Mon, 3 Oct 2011 08:48:07 +0000 (10:48 +0200)] 
Added installer and config template renderer

13 years agoExact variant of CRC16 specified into crc16.c
antirez [Sun, 2 Oct 2011 12:05:29 +0000 (14:05 +0200)] 
Exact variant of CRC16 specified into crc16.c

13 years agowhen processing gossip packets make sure to also update the node bitmap when associat...
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.

13 years agofixed a few problems with redis-trib resharding.
antirez [Fri, 30 Sep 2011 23:31:46 +0000 (01:31 +0200)] 
fixed a few problems with redis-trib resharding.

13 years agoredis-trib: initial working implementation of cluster rehashing, more work needed...
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.

13 years agoFixed two bugs in the CLUSTER SETSLOT ... NODE subcommand
antirez [Fri, 30 Sep 2011 20:17:24 +0000 (22:17 +0200)] 
Fixed two bugs in the CLUSTER SETSLOT ... NODE subcommand

13 years agoredis-trib: actual slot migration work in progress, more work needed.
antirez [Fri, 30 Sep 2011 17:21:36 +0000 (19:21 +0200)] 
redis-trib: actual slot migration work in progress, more work needed.

13 years agoClear the importing status from the slot if a CLUSTER SETSLOT command permanently...
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.

13 years agoredis-trib: better slots allocation strategy for resharding
antirez [Fri, 30 Sep 2011 16:41:25 +0000 (18:41 +0200)] 
redis-trib: better slots allocation strategy for resharding

13 years agoredis-trib: initial slots allocation strategy, still to improve for better balancing...
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.

13 years agoredis-trib: reshard command work in progress
antirez [Thu, 29 Sep 2011 14:06:49 +0000 (16:06 +0200)] 
redis-trib: reshard command work in progress

13 years agoredis-trib: minor refactoring creating a method to load the cluster information start...
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

13 years agoredis-trib: don't crash loading node info for nodes without assigned slots
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

13 years agoadded comment about SETSLOT NODE form.
antirez [Thu, 29 Sep 2011 13:26:01 +0000 (15:26 +0200)] 
added comment about SETSLOT NODE form.

13 years agoFixed command table for RESTORE to make it accepting keys only for the right slots...
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.

13 years agoredis-trib: added cluster state to node info string
antirez [Thu, 29 Sep 2011 13:04:23 +0000 (15:04 +0200)] 
redis-trib: added cluster state to node info string

13 years agoredis-trib: all node information into a single hash
antirez [Thu, 29 Sep 2011 12:44:15 +0000 (14:44 +0200)] 
redis-trib: all node information into a single hash

13 years agoredis-trib: when loading node info also fetch the output of CLUSTER INFO.
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.

13 years agoredis-trib cluster check command: check that all the 4096 slots are covered
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

13 years agoCompilation fixed on OpenBSD making sure that _XOPEN_SOURCE is set to 700 in fmacros.h
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

13 years agoinitial node loading info code for redis-trib
antirez [Wed, 28 Sep 2011 17:08:35 +0000 (19:08 +0200)] 
initial node loading info code for redis-trib

13 years agoshow node with myself flag always as connected in CLUSTER NODES output.
antirez [Wed, 28 Sep 2011 16:28:36 +0000 (18:28 +0200)] 
show node with myself flag always as connected in CLUSTER NODES output.

13 years agocluster config file entries added to the example configuration file
antirez [Wed, 28 Sep 2011 13:55:52 +0000 (15:55 +0200)] 
cluster config file entries added to the example configuration file

13 years agoScripting engine now only loads selected libraries, using code originally contributed...
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.

13 years agoa few entries removed from the old TODO list (done)
antirez [Tue, 27 Sep 2011 14:07:38 +0000 (16:07 +0200)] 
a few entries removed from the old TODO list (done)

13 years agonew tests for the scripting engine: not allowed commands and write commands after...
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.

13 years agoReturn errors if a write command is called inside a Lua script after a random command...
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.

13 years agoDeny commands flagged as REDIS_CMD_NOSCRIPT from Lua scripts
antirez [Tue, 27 Sep 2011 11:57:10 +0000 (13:57 +0200)] 
Deny commands flagged as REDIS_CMD_NOSCRIPT from Lua scripts

13 years agoadded the NOSCRIPT and RANDOM command flags
antirez [Tue, 27 Sep 2011 11:45:46 +0000 (13:45 +0200)] 
added the NOSCRIPT and RANDOM command flags

13 years agocommand table refactoring to make it simpler adding new flags
antirez [Mon, 26 Sep 2011 13:40:39 +0000 (15:40 +0200)] 
command table refactoring to make it simpler adding new flags

13 years agoLua math.random and math.randomseed replaced with our own version based on redisSrand...
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.

13 years agoDefined macro with bigger number that redisLrand48() can output.
antirez [Fri, 23 Sep 2011 13:06:07 +0000 (15:06 +0200)] 
Defined macro with bigger number that redisLrand48() can output.

13 years agolibc neutral random function derived from a drand48() implementation added. Will...
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.

13 years agorioInitWithFile nad rioInitWithBuffer functions now take a rio structure pointer...
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.

13 years agomake sure to return just 1 for rio.c write when the target is a buffer, as we do...
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.

13 years agocomment on top of the _rio structure modified for correctness as actually fwrite...
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.

13 years agomerge conflicts resolved
antirez [Thu, 22 Sep 2011 13:15:26 +0000 (15:15 +0200)] 
merge conflicts resolved

13 years agoMerge pull request #97 from jvain/redis-cli
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

13 years agofixed a small bug that caused redis-cli to segfault when given single numeric paramet...
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.

13 years agoTODO updated
antirez [Wed, 21 Sep 2011 17:13:43 +0000 (19:13 +0200)] 
TODO updated

13 years agoTODO updated after moving more things into the github issues system
antirez [Tue, 20 Sep 2011 13:34:49 +0000 (15:34 +0200)] 
TODO updated after moving more things into the github issues system

13 years agoTODO updated
antirez [Tue, 20 Sep 2011 12:50:01 +0000 (14:50 +0200)] 
TODO updated

13 years agono longer valid design documents removed
antirez [Tue, 20 Sep 2011 09:15:55 +0000 (11:15 +0200)] 
no longer valid design documents removed

13 years agoMerge pull request #72 from datafueled/spelling
Salvatore Sanfilippo [Tue, 20 Sep 2011 09:12:14 +0000 (02:12 -0700)] 
Merge pull request #72 from datafueled/spelling

Spelling fixes.

13 years agoMerge pull request #78 from vambo/patch-1
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;

13 years agoMerge pull request #79 from annulen/mac_ppc
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

13 years agoMerge pull request #74 from kmerenkov/issue_620
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

13 years agoInclude port number in error when can't bind lisetning port on startup.
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.

13 years agoFixed comment typo
antirez [Mon, 19 Sep 2011 15:49:50 +0000 (17:49 +0200)] 
Fixed comment typo

13 years agoComment out things in bio.c that are currently not useful but that may be useful...
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.

13 years agoEmit a log message when AOF fsync is still in progress but we are forced to write...
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.

13 years agouse aof_fsync wrapper instead of fsync(2) in bio.c
antirez [Fri, 16 Sep 2011 13:53:01 +0000 (15:53 +0200)] 
use aof_fsync wrapper instead of fsync(2) in bio.c

13 years agoMerge remote-tracking branch 'origin/unstable' into bg-aof-2
antirez [Fri, 16 Sep 2011 13:44:14 +0000 (15:44 +0200)] 
Merge remote-tracking branch 'origin/unstable' into bg-aof-2

13 years agocommenting out aof-race test for now, waiting for a fix to issue #80
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

13 years agoMerge remote-tracking branch 'origin/unstable' into bg-aof-2
antirez [Fri, 16 Sep 2011 10:36:33 +0000 (12:36 +0200)] 
Merge remote-tracking branch 'origin/unstable' into bg-aof-2

13 years agofixed flushAppendOnlyFile() function prototype to reflect the new implementation...
antirez [Fri, 16 Sep 2011 10:36:17 +0000 (12:36 +0200)] 
fixed flushAppendOnlyFile() function prototype to reflect the new implementation, fixing compilation.

13 years agopostpone the AOF fsync if policy is everysec and there is a background fsync already...
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.

13 years agoFixed typo preventing compilation
antirez [Fri, 16 Sep 2011 10:11:48 +0000 (12:11 +0200)] 
Fixed typo preventing compilation

13 years agoFailing test related to AOF rewrite buffers
Pieter Noordhuis [Wed, 17 Aug 2011 16:09:01 +0000 (18:09 +0200)] 
Failing test related to AOF rewrite buffers

13 years agoEnforce upper bound for number of requests in redis-benchmark
Pieter Noordhuis [Wed, 17 Aug 2011 15:06:19 +0000 (17:06 +0200)] 
Enforce upper bound for number of requests in redis-benchmark

13 years agoFix AOF race that may duplicate commands
Pieter Noordhuis [Wed, 17 Aug 2011 16:15:06 +0000 (18:15 +0200)] 
Fix AOF race that may duplicate commands

13 years agoAdded aof_backgronud_fsync() function, and use it in the bacground rewrite done handl...
antirez [Fri, 16 Sep 2011 09:08:39 +0000 (11:08 +0200)] 
Added aof_backgronud_fsync() function, and use it in the bacground rewrite done handler when the fsync policy is everysec.

13 years agoFixed a bug in the average latency metering of redis-cli --latency
antirez [Thu, 15 Sep 2011 17:32:25 +0000 (19:32 +0200)] 
Fixed a bug in the average latency metering of redis-cli --latency

13 years agoImplemented --latency in redis-cli
antirez [Thu, 15 Sep 2011 17:28:00 +0000 (19:28 +0200)] 
Implemented --latency in redis-cli

13 years agoREDIS_BIO_AOF_FSYNC implemented
antirez [Thu, 15 Sep 2011 16:25:53 +0000 (18:25 +0200)] 
REDIS_BIO_AOF_FSYNC implemented

13 years agofixed a problem in bioOlderJobType() when there are no jobs of the specified type...
antirez [Thu, 15 Sep 2011 16:23:58 +0000 (18:23 +0200)] 
fixed a problem in bioOlderJobType() when there are no jobs of the specified type. Now the function returns 0 when this happens.

13 years agosome more comment about bio.c design
antirez [Thu, 15 Sep 2011 16:23:11 +0000 (18:23 +0200)] 
some more comment about bio.c design

13 years agoRemove backgroud jobs from the queue only when the processing was completed, and...
antirez [Thu, 15 Sep 2011 13:52:14 +0000 (15:52 +0200)] 
Remove backgroud jobs from the queue only when the processing was completed, and not just started.

13 years agoUse a different thread for every different type of background job
antirez [Thu, 15 Sep 2011 13:46:29 +0000 (15:46 +0200)] 
Use a different thread for every different type of background job

13 years agoBetter comments for bioWaitPendingJobsLE
antirez [Wed, 14 Sep 2011 17:05:21 +0000 (19:05 +0200)] 
Better comments for bioWaitPendingJobsLE

13 years agoBackground I/O library enhanced so that the main thread can query for the number...
antirez [Wed, 14 Sep 2011 16:39:29 +0000 (18:39 +0200)] 
Background I/O library enhanced so that the main thread can query for the number of pending jobs of the specified type.

13 years agoTODO updated with 2.6 things
antirez [Thu, 15 Sep 2011 15:04:55 +0000 (17:04 +0200)] 
TODO updated with 2.6 things

13 years agoenable zmalloc thread safety support now that we have the bio.c background thread.
antirez [Wed, 14 Sep 2011 17:09:48 +0000 (19:09 +0200)] 
enable zmalloc thread safety support now that we have the bio.c background thread.

13 years agoMerge pull request #77 from Poincare/patch-1
Salvatore Sanfilippo [Wed, 14 Sep 2011 13:27:47 +0000 (06:27 -0700)] 
Merge pull request #77 from Poincare/patch-1

Added note about Tcl

13 years agoOptimize LRANGE to scan the list starting from the head or the tail in order to trave...
antirez [Wed, 14 Sep 2011 13:10:28 +0000 (15:10 +0200)] 
Optimize LRANGE to scan the list starting from the head or the tail in order to traverse the minimal number of elements. Thanks to Didier Spezia for noticing the problem and providing a patch.

13 years agoDon't replicate/AOF SAVE
antirez [Wed, 14 Sep 2011 11:08:19 +0000 (13:08 +0200)] 
Don't replicate/AOF SAVE

13 years agouse bio.c instead of libeio for closing the AOF file in background. Some comment...
antirez [Tue, 13 Sep 2011 16:27:08 +0000 (18:27 +0200)] 
use bio.c instead of libeio for closing the AOF file in background. Some comment added and other minor changes.

13 years agoAsynchronously close old file after BGREWRITEAOF
Pieter Noordhuis [Thu, 18 Aug 2011 13:49:06 +0000 (15:49 +0200)] 
Asynchronously close old file after BGREWRITEAOF

13 years agotest background close operation removed
antirez [Tue, 13 Sep 2011 14:57:18 +0000 (16:57 +0200)] 
test background close operation removed

13 years agomake bio_list static as well
antirez [Tue, 13 Sep 2011 14:56:43 +0000 (16:56 +0200)] 
make bio_list static as well

13 years agodebug message removed
antirez [Tue, 13 Sep 2011 14:53:33 +0000 (16:53 +0200)] 
debug message removed

13 years agouse pthread_cond_signal() to make sure the background thread will process the job.
antirez [Tue, 13 Sep 2011 14:21:12 +0000 (16:21 +0200)] 
use pthread_cond_signal() to make sure the background thread will process the job.

13 years agotypo fixed in bio.c
antirez [Tue, 13 Sep 2011 14:19:37 +0000 (16:19 +0200)] 
typo fixed in bio.c

13 years agoRemoved no longer useful fields in the redis server structure
antirez [Tue, 13 Sep 2011 14:17:45 +0000 (16:17 +0200)] 
Removed no longer useful fields in the redis server structure

13 years agoadd background jobs initialization to Redis main init function
antirez [Tue, 13 Sep 2011 14:10:26 +0000 (16:10 +0200)] 
add background jobs initialization to Redis main init function

13 years agobio.c typos fixes to make it compile
antirez [Tue, 13 Sep 2011 14:09:06 +0000 (16:09 +0200)] 
bio.c typos fixes to make it compile

13 years agobio.o added to redis-server objects
antirez [Tue, 13 Sep 2011 13:59:48 +0000 (15:59 +0200)] 
bio.o added to redis-server objects

13 years agoSpeed up protocol synthesis for AOF
Pieter Noordhuis [Thu, 18 Aug 2011 11:03:04 +0000 (13:03 +0200)] 
Speed up protocol synthesis for AOF

13 years agoRe-use AOF buffer when it is small enough
Pieter Noordhuis [Thu, 18 Aug 2011 10:44:30 +0000 (12:44 +0200)] 
Re-use AOF buffer when it is small enough

13 years agoFix indent
Pieter Noordhuis [Thu, 18 Aug 2011 10:27:34 +0000 (12:27 +0200)] 
Fix indent

13 years agoadded a newline for code readability
antirez [Tue, 13 Sep 2011 10:21:54 +0000 (12:21 +0200)] 
added a newline for code readability

13 years agoAvoid unnecessary calls to time(3)
Pieter Noordhuis [Thu, 18 Aug 2011 10:25:59 +0000 (12:25 +0200)] 
Avoid unnecessary calls to time(3)

13 years agoRemove the write handler only if there are no longer objects in the output queue...
antirez [Mon, 12 Sep 2011 09:05:48 +0000 (11:05 +0200)] 
Remove the write handler only if there are no longer objects in the output queue AND if the static buffer is empty. This bug was the cause of a possible server-stop-responding-to-client bug under some specific work load. Thanks to Pieter Noordhuis for spotting and fixing it.

13 years agoregression test for bug 593 added
antirez [Mon, 12 Sep 2011 08:53:49 +0000 (10:53 +0200)] 
regression test for bug 593 added

13 years agofixed typos in the comments of rpoplpushHandlePush()
antirez [Mon, 12 Sep 2011 08:04:23 +0000 (10:04 +0200)] 
fixed typos in the comments of rpoplpushHandlePush()

13 years agoFix crash when chaining brpoplpush with other blocking commands.
Hampus Wessman [Wed, 7 Sep 2011 17:08:48 +0000 (19:08 +0200)] 
Fix crash when chaining brpoplpush with other blocking commands.

13 years agoFixed compilation on Mac/PPC
Konstantin Tokarev [Thu, 1 Sep 2011 18:16:20 +0000 (22:16 +0400)] 
Fixed compilation on Mac/PPC

Applied patch from Issue 119 provided by
pahowes@gmail.com