Pieter Noordhuis
|
740eee1cc6
|
Fix type that was not renamed and compiler warning
|
2010-08-26 12:13:51 +02:00 |
|
antirez
|
674492bceb
|
removed a duplicated ERRNO checking that is useless at all
|
2010-08-26 12:10:16 +02:00 |
|
antirez
|
acc75bfd4f
|
Merge remote branch 'pietern/intset-split'
|
2010-08-26 12:04:24 +02:00 |
|
Pieter Noordhuis
|
f9d5c4e33c
|
Make the function intsetUpgrade self-contained
|
2010-08-26 11:22:58 +02:00 |
|
Pieter Noordhuis
|
76864d5626
|
Expand macro's to functions for readability
|
2010-08-26 11:06:30 +02:00 |
|
Pieter Noordhuis
|
b4b62c34db
|
Use fstat to detect if stdin was redirected
|
2010-08-25 14:48:50 +02:00 |
|
Pieter Noordhuis
|
f791d66e20
|
Make helper functions simpler
|
2010-08-25 14:15:41 +02:00 |
|
Pieter Noordhuis
|
f9b252613b
|
Comments in redis-cli tests
|
2010-08-25 14:08:32 +02:00 |
|
Pieter Noordhuis
|
ae77016e57
|
Add a newline to tty output after every reply
|
2010-08-25 13:39:11 +02:00 |
|
Pieter Noordhuis
|
5d15b5207d
|
Re-introduce the interactive field so we can reconnect in interactive mode
|
2010-08-25 13:09:22 +02:00 |
|
Pieter Noordhuis
|
4b93e5e267
|
Merge master and move argument splitting patch to sds.c
|
2010-08-25 13:08:43 +02:00 |
|
antirez
|
c0b3d42372
|
redis-cli now supports automatically reconnection in interactive mode
|
2010-08-24 18:39:34 +02:00 |
|
antirez
|
b37ca6edb1
|
Issue 179 fixed, now redis-cli is able to parse correctly multi bulk replies with elements that are errors
|
2010-08-24 18:08:09 +02:00 |
|
antirez
|
695fe87456
|
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
|
2010-08-24 17:09:25 +02:00 |
|
antirez
|
b91d605a35
|
slave now detect lost connection during SYNC, fixing Issue 173
|
2010-08-24 16:25:00 +02:00 |
|
antirez
|
778b2210a9
|
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
|
2010-08-24 16:04:13 +02:00 |
|
antirez
|
e452436a07
|
BLPOPping clients are no longer subject to connection timeouts, fixing issues 155
|
2010-08-24 12:10:59 +02:00 |
|
antirez
|
01daeecee7
|
added tests for invalid bulk argument
|
2010-08-24 11:49:05 +02:00 |
|
antirez
|
a679185aa5
|
sanity check for the bulk argument in protocol parsing code, fixing issue 146
|
2010-08-24 11:45:05 +02:00 |
|
antirez
|
e193873025
|
changed the comments on top of redis-copy.rb to reflect what the program really does
|
2010-08-24 10:10:01 +02:00 |
|
antirez
|
c91abdcd07
|
Fixed overflow detection in argument to long convertion function in general, and in expire/ttl pairs specifically, addressing issue 54
|
2010-08-23 17:06:38 +02:00 |
|
Pieter Noordhuis
|
cb72d0f155
|
Rename iterator to setTypeIterator for consistency
|
2010-08-21 11:38:24 +02:00 |
|
Pieter Noordhuis
|
029e5577ff
|
Make SORT use the hybrid set accessors to allow sorting intsets
|
2010-08-21 11:20:41 +02:00 |
|
Pieter Noordhuis
|
2b9a59471f
|
SORT tests with hash table encoded set as input
|
2010-08-21 11:03:56 +02:00 |
|
Pieter Noordhuis
|
ced6709cb9
|
Make SORT tests use both ziplists and linked lists as input
|
2010-08-21 11:02:22 +02:00 |
|
Pieter Noordhuis
|
5d4f3a8c85
|
Move SORT tests around
|
2010-08-21 10:55:53 +02:00 |
|
Pieter Noordhuis
|
a53ebb4c8e
|
Don't abort test suite when the server block has a return value
|
2010-08-21 10:54:31 +02:00 |
|
Pieter Noordhuis
|
87c74dfaa8
|
Check if stroll return value was clamped
|
2010-08-20 13:42:42 +02:00 |
|
Pieter Noordhuis
|
aaada3f962
|
Merge branch 'master' into intset-split
Conflicts:
src/Makefile
src/t_set.c
|
2010-08-20 12:40:55 +02:00 |
|
antirez
|
cbce517145
|
redis cli argument splitting is general and is now moved into the sds.c lib
|
2010-08-05 11:36:39 +02:00 |
|
Pieter Noordhuis
|
abb731e5b8
|
Deprecate starting interactive mode using the -i flag
|
2010-08-04 18:36:03 +02:00 |
|
Pieter Noordhuis
|
cf0c6b78f1
|
Set tty before going into interactive mode to get non-pretty output when
the commands are read from stdin.
|
2010-08-04 18:16:39 +02:00 |
|
Pieter Noordhuis
|
3a51bff035
|
Change output format for non-tty redis-cli execution
|
2010-08-04 17:46:56 +02:00 |
|
Pieter Noordhuis
|
123a10f7a5
|
Let the output mode depend on having a tty or not
|
2010-08-04 17:16:05 +02:00 |
|
Pieter Noordhuis
|
07242c0ccf
|
Tests for redis-cli in non-interactive mode
Minor change in redis-cli output for the (multi-)bulk response but this
will be fixed in the next commit.
|
2010-08-04 17:02:13 +02:00 |
|
Pieter Noordhuis
|
0439d792c4
|
Add tests for quotation in an interactive redis-cli session
Patched redis-cli to abort on unexpected quotation. This caused
redis-cli to get into an infinite, memory-consuming loop.
|
2010-08-04 16:15:33 +02:00 |
|
Pieter Noordhuis
|
f2dd4769dd
|
Tests for the interactive mode of redis-cli
Changed redis-cli to output the raw response for a bulk reply when it is
run in interactive mode instead of checking isatty.
|
2010-08-04 15:28:03 +02:00 |
|
antirez
|
1fb4e8def7
|
PERSIST: a fix and some basic test
|
2010-08-03 14:25:22 +02:00 |
|
antirez
|
a539d29ac5
|
PERSIST command implemented
|
2010-08-03 14:19:20 +02:00 |
|
antirez
|
6146329f1f
|
replication test with expires
|
2010-08-03 13:38:39 +02:00 |
|
antirez
|
23d7298b15
|
Merge remote branch 'pietern/test-encoding-fix' into writeonexpire
|
2010-08-03 13:09:27 +02:00 |
|
antirez
|
2c572622fb
|
no longer passing tests due to the new write-on-volatile semantics modified/removed
|
2010-08-03 13:08:32 +02:00 |
|
antirez
|
0cf5b7b57c
|
allow to set a new EXPIRE of an existing volatile key
|
2010-08-03 12:26:30 +02:00 |
|
antirez
|
c25a5d3b10
|
memory leak removed from expire propagation code
|
2010-08-02 21:37:39 +02:00 |
|
antirez
|
bcf2995c98
|
support for write operations against expiring keys, by master-controlled expiring in replication and AOF synthesizing DEL operations
|
2010-08-02 18:13:39 +02:00 |
|
Pieter Noordhuis
|
6825491928
|
Fix assertion function on value encoding
|
2010-08-01 11:20:26 +02:00 |
|
antirez
|
0c7a9dec65
|
Merge remote branch 'pietern/list-test'
|
2010-07-31 13:55:06 +02:00 |
|
Pieter Noordhuis
|
673e1fb7e4
|
Change getDoubleFromObject to fail on NaN.
Return an error when the resulting value is not a number (NaN). Fix
ZUNIONSTORE/ZINTERSTORE to clean up when a weight argument is not a
double value.
|
2010-07-29 23:05:01 +02:00 |
|
Pieter Noordhuis
|
d9e28bcf00
|
Fix ZUNIONSTORE/ZINTERSTORE to never store a NaN score.
When +inf and -inf are added, the result is NaN. We don't want NaN
scores in a sorted set, so agreed on the result of this operation being
zero.
|
2010-07-29 23:03:11 +02:00 |
|
Pieter Noordhuis
|
715c801a07
|
Use a large value to consistently trigger a list encoding,
even when the list is swapped out and in again.
|
2010-07-29 13:56:35 +02:00 |
|