6c52d5ce27
remove mentions of VM in comments
2012-04-05 11:04:03 +02:00
efd412f908
remove disk-store related comments
2012-03-27 23:04:16 +02:00
b54cdfb2b7
Code style hack.
2012-03-22 18:16:41 +01:00
7b22c44ccd
Result of INCRBYFLOAT and HINCRBYFLOAT should never be in exponential form, and also should never contain trailing zeroes. This is not possible with vanilla printf() format specifiers, so we alter the output.
2012-03-22 18:14:32 +01:00
ebd85e9a45
Encode small hashes with a ziplist
2012-01-02 22:14:10 -08:00
d93f9a8644
string to number API is now more strict not accepting spaces before or after the number. A few tests converted to match the new error messages using the word float instead of double.
2011-11-14 15:34:44 +01:00
5574b53eae
INCRBYFLOAT implementation
2011-11-12 19:27:35 +01:00
c0ba9ebe13
dict.c API names modified to be more coincise and consistent.
2011-11-08 17:07:55 +01:00
eab0e26e03
replaced redisAssert() with redisAssertWithInfo() in a shitload of places.
2011-10-04 18:43:03 +02:00
4dd444bb4a
Replicate EVALSHA as EVAL taking a dictionary of sha1 -> script source code.
2011-07-13 15:38:03 +02:00
c9d0c3623a
diskstore removed
2011-06-25 12:22:03 +02:00
936c4ab64b
touch less pages in decrRefCount
2011-06-03 17:33:23 +02:00
5d08193126
Tests for string2ll; move isObject* to object.c
2011-05-05 16:26:50 +02:00
100ed062c0
Test for ENCODING_SKIPLIST instead of ENCODING_RAW
2011-04-06 16:17:07 +02:00
7d8c555e92
Merge branch 'unstable' into unstable-zset
...
Conflicts:
src/object.c
2011-04-06 16:15:01 +02:00
0b7f6d0913
make sure that OBJECT ENCODING returns skiplist for sorted sets, and not raw, so that once we will merge specially encoded sorted sets everything will make sense.
2011-04-06 15:36:10 +02:00
ece74202bb
OBJECT command implemented
2011-04-06 12:19:45 +02:00
0f23eb3b10
Properly free encoded sorted set
2011-03-08 23:56:59 +01:00
9e7cee0ed0
Add function to create ziplist-backed sorted set
2011-03-08 16:08:52 +01:00
3be00d7ed6
implemented a different approach to IO scheduling, so object->storage is no longer used, instead there is a queue and hash table of IO tasks to process, and it is always possible to know what are the scheduled and acrtive IO operations against every single key.
2011-01-01 21:35:56 +01:00
98a9abb66d
don't use small shared integer objects when disk store is enabled
2010-12-30 18:17:01 +01:00
cea8c5cd75
touched key for WATCH refactored into a more general thing that can be used also for the cache system. Some more changes towards diskstore working.
2010-12-29 19:39:42 +01:00
16d778780e
a lot of code reworked/removed to implement object caching
2010-12-28 18:06:40 +01:00
a9b18e54d4
Stop using the freelist robj* cache
2010-11-04 10:09:30 +01:00
13a49af44b
prevent small integer sharing when maxmemory is active. So every object will use a private LRU field and the LRU algorithm can work well
2010-10-15 18:04:05 +02:00
165346ca29
implemented different algorithms for maxmemory
2010-10-14 21:22:21 +02:00
ef59a8bc9e
Object approximated LRU algorithm enhanced / fixed / refactored. This is used for the VM currently but will soon be used for maxmemory expiring.
2010-10-14 13:52:58 +02:00
3ab203762f
Use specialized function to add status and error replies
2010-09-02 23:33:06 +02:00
36c19d03e0
Changed reply buildup internals
2010-09-02 19:52:04 +02:00
834ef78e27
Refactor reply buildup for speed on large multi bulk replies
2010-08-30 16:39:08 +02:00
674492bceb
removed a duplicated ERRNO checking that is useless at all
2010-08-26 12:10:16 +02:00
acc75bfd4f
Merge remote branch 'pietern/intset-split'
2010-08-26 12:04:24 +02:00
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
87c74dfaa8
Check if stroll return value was clamped
2010-08-20 13:42:42 +02:00
aaada3f962
Merge branch 'master' into intset-split
...
Conflicts:
src/Makefile
src/t_set.c
2010-08-20 12:40:55 +02:00
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
2f996f0217
defensive programming: set o->ptr to NULL before freeing objects
2010-07-22 15:48:57 +02:00
e002ec6801
other shared objects where created in the I/O thread in createStringObjectFromLongLong. Fixed as well.
2010-07-22 14:48:45 +02:00
cdbea20afb
minor typo fixed in a comment
2010-07-22 13:12:24 +02:00
0e5441d816
don't use object sharing inside I/O threads, as a fix for a well known instability of VM introduced with the new object sharing code
2010-07-22 13:08:02 +02:00
2cffe2993b
TODO list modified, trivial change to source code
2010-07-16 23:56:18 +02:00
96ffb2fe97
merged intset code into the split files
2010-07-02 19:57:12 +02:00
e2641e09cc
redis.c split into many different C files.
...
networking related stuff moved into networking.c
moved more code
more work on layout of source code
SDS instantaneuos memory saving. By Pieter and Salvatore at VMware ;)
cleanly compiling again after the first split, now splitting it in more C files
moving more things around... work in progress
split replication code
splitting more
Sets split
Hash split
replication split
even more splitting
more splitting
minor change
2010-07-01 14:38:51 +02:00