]> git.saurik.com Git - redis.git/log
redis.git
14 years agoAdded used CPU statistics in INFO output, obtained via getrusage()
antirez [Thu, 16 Sep 2010 11:28:58 +0000 (13:28 +0200)] 
Added used CPU statistics in INFO output, obtained via getrusage()

14 years agomodified a bit addReply() to play better with copy on write now that we have a static...
antirez [Thu, 16 Sep 2010 11:08:40 +0000 (13:08 +0200)] 
modified a bit addReply() to play better with copy on write now that we have a static buffer. Changed the name of a function from _ensureFileEvent() to _installWriteEvent().

14 years agoMerge remote branch 'pietern/networking-perf'
antirez [Thu, 16 Sep 2010 10:02:18 +0000 (12:02 +0200)] 
Merge remote branch 'pietern/networking-perf'

14 years agoStatic buffer in client struct has a constant size
Pieter Noordhuis [Thu, 16 Sep 2010 09:59:53 +0000 (11:59 +0200)] 
Static buffer in client struct has a constant size

14 years agoMerge remote branch 'pietern/networking-perf'
antirez [Thu, 16 Sep 2010 09:38:40 +0000 (11:38 +0200)] 
Merge remote branch 'pietern/networking-perf'

14 years agoThis should fix Issue 332: when there is a background process saving we still allow...
antirez [Wed, 15 Sep 2010 12:09:41 +0000 (14:09 +0200)] 
This should fix Issue 332: when there is a background process saving we still allow the hash tables to grow, but only when a critical treshold is reached. Formerly we prevented the resize at all triggering pathological O(N) behavior. Also there is a fix for the statistics in INFO about the number of keys expired

14 years agofixed typo in the latest commit
antirez [Tue, 14 Sep 2010 13:18:18 +0000 (15:18 +0200)] 
fixed typo in the latest commit

14 years agoAdvertise the existence of redis-check dump --fix when logging an error about corrupt...
antirez [Tue, 14 Sep 2010 13:09:37 +0000 (15:09 +0200)] 
Advertise the existence of redis-check dump --fix when logging an error about corrupted AOF file

14 years agoFixed missed use of INSTALL_TOP
Pedro Melo [Mon, 13 Sep 2010 15:50:57 +0000 (16:50 +0100)] 
Fixed missed use of INSTALL_TOP

Thanks to sylr@github

Signed-off-by: Pedro Melo <melo@simplicidade.org>
14 years agoMake sure INSTALL_TOP exists before we install to it
Pedro Melo [Mon, 13 Sep 2010 15:11:55 +0000 (16:11 +0100)] 
Make sure INSTALL_TOP exists before we install to it

Signed-off-by: Pedro Melo <melo@simplicidade.org>
14 years agoRename INSTALL_TOP to PREFIX; update documentation
Pedro Melo [Mon, 13 Sep 2010 15:09:11 +0000 (16:09 +0100)] 
Rename INSTALL_TOP to PREFIX; update documentation

Signed-off-by: Pedro Melo <melo@simplicidade.org>
14 years agoFix another test that sometimes returned the swapped object instead of encoding
Pieter Noordhuis [Mon, 13 Sep 2010 14:59:46 +0000 (16:59 +0200)] 
Fix another test that sometimes returned the swapped object instead of encoding

14 years agoredis-cli does no longer try to auto detect if it is used inside a pipe. To read...
antirez [Thu, 9 Sep 2010 14:38:10 +0000 (16:38 +0200)] 
redis-cli does no longer try to auto detect if it is used inside a pipe. To read last argument from stdandard input there is to use the -x option. This will make it playing better inside cron scripts and in general when stdin is hacked.

14 years agoFix for the init script provided with Redis, thanks to Rowan. This fixes issue 316
antirez [Thu, 9 Sep 2010 08:24:56 +0000 (10:24 +0200)] 
Fix for the init script provided with Redis, thanks to Rowan. This fixes issue 316

14 years agoFix re-enabled again, I forgot to check if VM was enabled before calling handleClient...
antirez [Wed, 8 Sep 2010 11:47:28 +0000 (13:47 +0200)] 
Fix re-enabled again, I forgot to check if VM was enabled before calling handleClientsBlockedOnSwappedKey()

14 years agolatest fix reverted, there is some problem reported by the CI test
antirez [Wed, 8 Sep 2010 11:45:51 +0000 (13:45 +0200)] 
latest fix reverted, there is some problem reported by the CI test

14 years agoFixed a race condition in VM happening when a key was deleted while there was a clien...
antirez [Wed, 8 Sep 2010 11:26:16 +0000 (13:26 +0200)] 
Fixed a race condition in VM happening when a key was deleted while there was a client waiting for this key to be resumed from swap to memory. The client would hang forever.

14 years agoFix test that sometimes returned the swapped object instead of encoding
Pieter Noordhuis [Tue, 7 Sep 2010 09:49:33 +0000 (11:49 +0200)] 
Fix test that sometimes returned the swapped object instead of encoding

14 years agoFix bug where the client is not present in server.clients when free'ing it
Pieter Noordhuis [Mon, 6 Sep 2010 09:27:22 +0000 (11:27 +0200)] 
Fix bug where the client is not present in server.clients when free'ing it

When creating the readable event results in an error (this happens when
the server hits OS limits), the client was not added to the list of
clients when freeClient was called. This results in an assertion error.
It is better to check this condition first and free the client
immediately when this condition occurs. Port of 00a90feb.

14 years agoFix for solaris compilation bug Issue 325
antirez [Mon, 6 Sep 2010 08:12:44 +0000 (10:12 +0200)] 
Fix for solaris compilation bug Issue 325

14 years agoMerge branch 'master' into networking-perf
Pieter Noordhuis [Fri, 3 Sep 2010 14:44:31 +0000 (16:44 +0200)] 
Merge branch 'master' into networking-perf

Resolved conflict in src/db.c and changed adding an error to the reply
in blockingPopGenericCommand to use the new API.

14 years agoadded some comment and changed coding style for fix for 237
antirez [Fri, 3 Sep 2010 08:24:18 +0000 (10:24 +0200)] 
added some comment and changed coding style for fix for 237

14 years agofix for issue 237
Anko painting [Fri, 3 Sep 2010 04:13:27 +0000 (21:13 -0700)] 
fix for issue 237

14 years agoFix bug in gluing a deferred multi bulk length to the next reply chunk
Pieter Noordhuis [Thu, 2 Sep 2010 21:34:32 +0000 (23:34 +0200)] 
Fix bug in gluing a deferred multi bulk length to the next reply chunk

14 years agoUse specialized function to add status and error replies
Pieter Noordhuis [Thu, 2 Sep 2010 17:52:24 +0000 (19:52 +0200)] 
Use specialized function to add status and error replies

14 years agoAdd sds function that can be called with va_list
Pieter Noordhuis [Thu, 2 Sep 2010 17:35:07 +0000 (19:35 +0200)] 
Add sds function that can be called with va_list

14 years agoChanged reply buildup internals
Pieter Noordhuis [Thu, 2 Sep 2010 17:18:55 +0000 (19:18 +0200)] 
Changed reply buildup internals

14 years agoRemoved unneeded function
Pieter Noordhuis [Thu, 2 Sep 2010 12:31:25 +0000 (14:31 +0200)] 
Removed unneeded function

14 years agoUse existing reply functions where possible
Pieter Noordhuis [Thu, 2 Sep 2010 12:30:56 +0000 (14:30 +0200)] 
Use existing reply functions where possible

14 years agoFree the sds in addReplySds when it cannot be added to the reply
Pieter Noordhuis [Thu, 2 Sep 2010 12:19:15 +0000 (14:19 +0200)] 
Free the sds in addReplySds when it cannot be added to the reply

14 years agoIntialize bufpos in the fake client
Pieter Noordhuis [Thu, 2 Sep 2010 12:17:53 +0000 (14:17 +0200)] 
Intialize bufpos in the fake client

14 years agoUse specialized function to add multi bulk reply length
Pieter Noordhuis [Thu, 2 Sep 2010 10:38:34 +0000 (12:38 +0200)] 
Use specialized function to add multi bulk reply length

14 years agomemory fragmentation reporting in INFO also added for Mac OS X
antirez [Thu, 2 Sep 2010 08:57:58 +0000 (10:57 +0200)] 
memory fragmentation reporting in INFO also added for Mac OS X

14 years agomemory fragmentation ratio in INFO output
antirez [Thu, 2 Sep 2010 08:34:39 +0000 (10:34 +0200)] 
memory fragmentation ratio in INFO output

14 years agofixed a few harmless warnings complining on Linux
antirez [Wed, 1 Sep 2010 16:31:30 +0000 (18:31 +0200)] 
fixed a few harmless warnings complining on Linux

14 years agoVersion is now 2.1.4 -- AKA 2.2-alpha1
antirez [Tue, 31 Aug 2010 16:34:34 +0000 (18:34 +0200)] 
Version is now 2.1.4 -- AKA 2.2-alpha1

14 years agoMerge remote branch 'pietern/issue-300'
antirez [Tue, 31 Aug 2010 15:39:06 +0000 (17:39 +0200)] 
Merge remote branch 'pietern/issue-300'

14 years agoFix compilation errors and add warning for 32-bit platforms
Pieter Noordhuis [Tue, 31 Aug 2010 11:06:26 +0000 (13:06 +0200)] 
Fix compilation errors and add warning for 32-bit platforms

14 years agoWe finally have an half decent README! (Issue 277)
antirez [Tue, 31 Aug 2010 09:42:52 +0000 (11:42 +0200)] 
We finally have an half decent README! (Issue 277)

14 years agoresolved conflict merging pietern/bpop-timeout
antirez [Tue, 31 Aug 2010 09:23:12 +0000 (11:23 +0200)] 
resolved conflict merging pietern/bpop-timeout

14 years agoMerge remote branch 'pietern/issue-300'
antirez [Tue, 31 Aug 2010 09:19:11 +0000 (11:19 +0200)] 
Merge remote branch 'pietern/issue-300'

14 years agofaster server starting in Redis tests
antirez [Tue, 31 Aug 2010 09:17:06 +0000 (11:17 +0200)] 
faster server starting in Redis tests

14 years agoFix issue 300 by upgrading variable types to 64-bit
Pieter Noordhuis [Tue, 31 Aug 2010 08:21:35 +0000 (10:21 +0200)] 
Fix issue 300 by upgrading variable types to 64-bit

14 years agoFix set tests to make sets have a deterministic encoding
Pieter Noordhuis [Tue, 31 Aug 2010 07:37:25 +0000 (09:37 +0200)] 
Fix set tests to make sets have a deterministic encoding

14 years agoDon't build a reply when replaying the AOF
Pieter Noordhuis [Mon, 30 Aug 2010 14:51:39 +0000 (16:51 +0200)] 
Don't build a reply when replaying the AOF

14 years agoWrapper for adding unknown multi bulk length to reply list
Pieter Noordhuis [Mon, 30 Aug 2010 14:02:06 +0000 (16:02 +0200)] 
Wrapper for adding unknown multi bulk length to reply list

14 years agoRefactor reply buildup for speed on large multi bulk replies
Pieter Noordhuis [Mon, 30 Aug 2010 12:44:34 +0000 (14:44 +0200)] 
Refactor reply buildup for speed on large multi bulk replies

14 years agoBLPOP inside MULTI/EXEC block no longer crashes, instead if the list is empty the...
antirez [Mon, 30 Aug 2010 14:31:03 +0000 (16:31 +0200)] 
BLPOP inside MULTI/EXEC block no longer crashes, instead if the list is empty the behavior is like if the timeout is reached. This fixes Issue 285

14 years agoNow redis-cli replies to help showing some basic usage information (Issue 291)
antirez [Mon, 30 Aug 2010 13:57:03 +0000 (15:57 +0200)] 
Now redis-cli replies to help showing some basic usage information (Issue 291)

14 years agoIt is now possible to use authentication and DB selection options at the same time...
antirez [Mon, 30 Aug 2010 13:36:13 +0000 (15:36 +0200)] 
It is now possible to use authentication and DB selection options at the same time in redis-cli (Issue 298)

14 years agoFixed MONITOR mode and Issue 296
antirez [Mon, 30 Aug 2010 09:51:45 +0000 (11:51 +0200)] 
Fixed MONITOR mode and Issue 296

14 years agoMakefile deps updated
antirez [Mon, 30 Aug 2010 09:37:17 +0000 (11:37 +0200)] 
Makefile deps updated

14 years agoShow the current throughput while benchmarking
Pieter Noordhuis [Mon, 30 Aug 2010 09:25:02 +0000 (11:25 +0200)] 
Show the current throughput while benchmarking

14 years agoRefactor reply parsing code in redis-benchmark for efficiency
Pieter Noordhuis [Mon, 30 Aug 2010 09:14:54 +0000 (11:14 +0200)] 
Refactor reply parsing code in redis-benchmark for efficiency

14 years agoFix for a race in BGSAVE that may result in some data not being saved as soon as...
antirez [Mon, 30 Aug 2010 08:32:32 +0000 (10:32 +0200)] 
Fix for a race in BGSAVE that may result in some data not being saved as soon as possible (when the configured saving triggers should fire). Also known as Issue 313, more details there in the google code issue.

14 years agofix for the prev fix
antirez [Fri, 27 Aug 2010 15:06:36 +0000 (17:06 +0200)] 
fix for the prev fix

14 years agoFix for bug 312, yet to verify in a couple of minutes...
antirez [Fri, 27 Aug 2010 15:04:26 +0000 (17:04 +0200)] 
Fix for bug 312, yet to verify in a couple of minutes...

14 years agoFixed another instace of the Issue 173
antirez [Fri, 27 Aug 2010 10:46:10 +0000 (12:46 +0200)] 
Fixed another instace of the Issue 173

14 years agoFixed segfault in freeMemoryIfNeeded due to the fact that keys are now sds strings...
antirez [Fri, 27 Aug 2010 09:01:03 +0000 (11:01 +0200)] 
Fixed segfault in freeMemoryIfNeeded due to the fact that keys are now sds strings and not objects in the main hash table, thanks to Anthony Lauzon for spotting the bug and providing a patch.

14 years agointset loading bug fixed
antirez [Thu, 26 Aug 2010 17:10:40 +0000 (19:10 +0200)] 
intset loading bug fixed

14 years agotest for intset integer encodability test and some small refactoring
antirez [Thu, 26 Aug 2010 16:47:03 +0000 (18:47 +0200)] 
test for intset integer encodability test and some small refactoring

14 years agotranslated a few long logn into int64_t for correctness and to avoid compilation...
antirez [Thu, 26 Aug 2010 16:11:26 +0000 (18:11 +0200)] 
translated a few long logn into int64_t for correctness and to avoid compilation warnings as well

14 years agoredis-cli tests commented out since there is a problem with the CI server and this...
antirez [Thu, 26 Aug 2010 15:52:02 +0000 (17:52 +0200)] 
redis-cli tests commented out since there is a problem with the CI server and this tests, will be activated again once the problem is fixed

14 years agoSORT stress testing against bigger aggregate values
antirez [Thu, 26 Aug 2010 15:29:13 +0000 (17:29 +0200)] 
SORT stress testing against bigger aggregate values

14 years agoVersion is now 2.1.3
antirez [Thu, 26 Aug 2010 14:58:02 +0000 (16:58 +0200)] 
Version is now 2.1.3

14 years agoMerge remote branch 'pietern/redis-cli-fix'
antirez [Thu, 26 Aug 2010 14:19:06 +0000 (16:19 +0200)] 
Merge remote branch 'pietern/redis-cli-fix'

14 years agoVerify that the blocking pop timeout value is a non-negative integer
Pieter Noordhuis [Thu, 26 Aug 2010 12:05:14 +0000 (14:05 +0200)] 
Verify that the blocking pop timeout value is a non-negative integer

14 years agoforgot the traceleaks var in tests set to 1, reverted to the default, 0
antirez [Thu, 26 Aug 2010 11:18:56 +0000 (13:18 +0200)] 
forgot the traceleaks var in tests set to 1, reverted to the default, 0

14 years agoFix parenthesis error on decrementing *argc
Pieter Noordhuis [Thu, 26 Aug 2010 11:18:19 +0000 (13:18 +0200)] 
Fix parenthesis error on decrementing *argc

14 years agofixed a memory leak in the new Set code
antirez [Thu, 26 Aug 2010 11:18:24 +0000 (13:18 +0200)] 
fixed a memory leak in the new Set code

14 years agocomputeObjectSwappability is now able to compute swappability for intset encoded...
antirez [Thu, 26 Aug 2010 10:28:53 +0000 (12:28 +0200)] 
computeObjectSwappability is now able to compute swappability for intset encoded sets

14 years agoFix type that was not renamed and compiler warning
Pieter Noordhuis [Thu, 26 Aug 2010 10:13:51 +0000 (12:13 +0200)] 
Fix type that was not renamed and compiler warning

14 years agoremoved a duplicated ERRNO checking that is useless at all
antirez [Thu, 26 Aug 2010 10:10:16 +0000 (12:10 +0200)] 
removed a duplicated ERRNO checking that is useless at all

14 years agoMerge remote branch 'pietern/intset-split'
antirez [Thu, 26 Aug 2010 10:04:24 +0000 (12:04 +0200)] 
Merge remote branch 'pietern/intset-split'

14 years agoMake the function intsetUpgrade self-contained
Pieter Noordhuis [Thu, 26 Aug 2010 09:22:58 +0000 (11:22 +0200)] 
Make the function intsetUpgrade self-contained

14 years agoExpand macro's to functions for readability
Pieter Noordhuis [Thu, 26 Aug 2010 09:06:30 +0000 (11:06 +0200)] 
Expand macro's to functions for readability

14 years agoUse fstat to detect if stdin was redirected
Pieter Noordhuis [Wed, 25 Aug 2010 12:48:50 +0000 (14:48 +0200)] 
Use fstat to detect if stdin was redirected

14 years agoMake helper functions simpler
Pieter Noordhuis [Wed, 25 Aug 2010 12:15:41 +0000 (14:15 +0200)] 
Make helper functions simpler

14 years agoComments in redis-cli tests
Pieter Noordhuis [Wed, 25 Aug 2010 12:08:32 +0000 (14:08 +0200)] 
Comments in redis-cli tests

14 years agoAdd a newline to tty output after every reply
Pieter Noordhuis [Wed, 25 Aug 2010 11:39:11 +0000 (13:39 +0200)] 
Add a newline to tty output after every reply

14 years agoRe-introduce the interactive field so we can reconnect in interactive mode
Pieter Noordhuis [Wed, 25 Aug 2010 08:05:50 +0000 (10:05 +0200)] 
Re-introduce the interactive field so we can reconnect in interactive mode

14 years agoMerge master and move argument splitting patch to sds.c
Pieter Noordhuis [Wed, 25 Aug 2010 07:54:02 +0000 (09:54 +0200)] 
Merge master and move argument splitting patch to sds.c

14 years agoredis-cli now supports automatically reconnection in interactive mode
antirez [Tue, 24 Aug 2010 16:39:34 +0000 (18:39 +0200)] 
redis-cli now supports automatically reconnection in interactive mode

14 years agoIssue 179 fixed, now redis-cli is able to parse correctly multi bulk replies with...
antirez [Tue, 24 Aug 2010 16:08:09 +0000 (18:08 +0200)] 
Issue 179 fixed, now redis-cli is able to parse correctly multi bulk replies with elements that are errors

14 years agoThe pid file is now created only after the server is correctly initialied. It is...
antirez [Tue, 24 Aug 2010 15:09:25 +0000 (17:09 +0200)] 
The pid file is now created only after the server is correctly initialied. It is also removed on sigterm and when the stack trace is produced after a sigbus or a sigsegv. This two changes should fix the Issue 175

14 years agoslave now detect lost connection during SYNC, fixing Issue 173
antirez [Tue, 24 Aug 2010 14:25:00 +0000 (16:25 +0200)] 
slave now detect lost connection during SYNC, fixing Issue 173

14 years agoslave with attached slaves now close the conection to all the slaves when the connect...
antirez [Tue, 24 Aug 2010 14:04:13 +0000 (16:04 +0200)] 
slave with attached slaves now close the conection to all the slaves when the connection to the master is lost. Now a slave without a connected link to the master will refuse SYNC from other slaves. Enhanced the replication error reporting. All this will fix Issue 156

14 years agoBLPOPping clients are no longer subject to connection timeouts, fixing issues 155
antirez [Tue, 24 Aug 2010 10:10:59 +0000 (12:10 +0200)] 
BLPOPping clients are no longer subject to connection timeouts, fixing issues 155

14 years agoadded tests for invalid bulk argument
antirez [Tue, 24 Aug 2010 09:49:05 +0000 (11:49 +0200)] 
added tests for invalid bulk argument

14 years agosanity check for the bulk argument in protocol parsing code, fixing issue 146
antirez [Tue, 24 Aug 2010 09:45:05 +0000 (11:45 +0200)] 
sanity check for the bulk argument in protocol parsing code, fixing issue 146

14 years agochanged the comments on top of redis-copy.rb to reflect what the program really does
antirez [Tue, 24 Aug 2010 08:10:01 +0000 (10:10 +0200)] 
changed the comments on top of redis-copy.rb to reflect what the program really does

14 years agoFixed overflow detection in argument to long convertion function in general, and...
antirez [Mon, 23 Aug 2010 15:06:38 +0000 (17:06 +0200)] 
Fixed overflow detection in argument to long convertion function in general, and in expire/ttl pairs specifically, addressing issue 54

14 years agoRename iterator to setTypeIterator for consistency
Pieter Noordhuis [Sat, 21 Aug 2010 09:25:13 +0000 (11:25 +0200)] 
Rename iterator to setTypeIterator for consistency

14 years agoMake SORT use the hybrid set accessors to allow sorting intsets
Pieter Noordhuis [Sat, 21 Aug 2010 09:15:31 +0000 (11:15 +0200)] 
Make SORT use the hybrid set accessors to allow sorting intsets

14 years agoSORT tests with hash table encoded set as input
Pieter Noordhuis [Sat, 21 Aug 2010 09:03:56 +0000 (11:03 +0200)] 
SORT tests with hash table encoded set as input

14 years agoMake SORT tests use both ziplists and linked lists as input
Pieter Noordhuis [Sat, 21 Aug 2010 09:02:22 +0000 (11:02 +0200)] 
Make SORT tests use both ziplists and linked lists as input

14 years agoMove SORT tests around
Pieter Noordhuis [Sat, 21 Aug 2010 08:55:53 +0000 (10:55 +0200)] 
Move SORT tests around

14 years agoDon't abort test suite when the server block has a return value
Pieter Noordhuis [Sat, 21 Aug 2010 08:54:31 +0000 (10:54 +0200)] 
Don't abort test suite when the server block has a return value

14 years agoCheck if stroll return value was clamped
Pieter Noordhuis [Fri, 20 Aug 2010 11:42:42 +0000 (13:42 +0200)] 
Check if stroll return value was clamped

14 years agoMerge branch 'master' into intset-split
Pieter Noordhuis [Fri, 20 Aug 2010 10:40:29 +0000 (12:40 +0200)] 
Merge branch 'master' into intset-split

Conflicts:
src/Makefile
src/t_set.c