antirez
d8afd9bc95
Test: stack_logging var should be initialized to 0.
2015-10-01 13:02:25 +02:00
antirez
5b850d7a09
Test: stack_logging var should be initialized to 0.
2015-10-01 13:02:25 +02:00
antirez
cc71d239bd
Hash new implementation memleaks fixed.
2015-10-01 13:02:25 +02:00
antirez
1dab60df81
Hash new implementation memleaks fixed.
2015-10-01 13:02:25 +02:00
antirez
cd94476e0b
Lazyfree: Hash converted to use plain SDS WIP 5.
2015-10-01 13:02:25 +02:00
antirez
97ba4e3886
Lazyfree: Hash converted to use plain SDS WIP 5.
2015-10-01 13:02:25 +02:00
antirez
cdfd6a2607
Test: support for stack logging for OSX malloc/leaks.
2015-10-01 13:02:25 +02:00
antirez
36be34bb87
Test: support for stack logging for OSX malloc/leaks.
2015-10-01 13:02:25 +02:00
antirez
5eb85d8fe7
Lazyfree: Hash converted to use plain SDS WIP 4.
2015-10-01 13:02:25 +02:00
antirez
974514b936
Lazyfree: Hash converted to use plain SDS WIP 4.
2015-10-01 13:02:25 +02:00
antirez
b4da37e32e
Lazyfree: Hash converted to use plain SDS WIP 3.
2015-10-01 13:02:24 +02:00
antirez
4a18352877
Lazyfree: Hash converted to use plain SDS WIP 3.
2015-10-01 13:02:24 +02:00
antirez
5ae12b50d1
Lazyfree: Hash converted to use plain SDS WIP 2.
2015-10-01 13:02:24 +02:00
antirez
777396aeba
Lazyfree: Hash converted to use plain SDS WIP 2.
2015-10-01 13:02:24 +02:00
antirez
5fd01e29d9
Lazyfree: Hash converted to use plain SDS WIP 1.
2015-10-01 13:02:24 +02:00
antirez
1c247556c6
Lazyfree: Hash converted to use plain SDS WIP 1.
2015-10-01 13:02:24 +02:00
antirez
d3b2c3f2f8
DEBUG DIGEST Set type memory leak fixed.
2015-10-01 13:02:24 +02:00
antirez
afc4b9241c
DEBUG DIGEST Set type memory leak fixed.
2015-10-01 13:02:24 +02:00
antirez
4ef4617c44
SORT memory leak fixed.
2015-10-01 13:02:24 +02:00
antirez
34e489cb8c
SORT memory leak fixed.
2015-10-01 13:02:24 +02:00
antirez
c4175281f6
Lazyfree: Sorted sets convereted to plain SDS. (several commits squashed)
2015-10-01 13:02:24 +02:00
antirez
a7c5be18a8
Lazyfree: Sorted sets convereted to plain SDS. (several commits squashed)
2015-10-01 13:02:24 +02:00
antirez
062bf5ce19
Lazyfree: Convert Sets to use plains SDS (several commits squashed).
2015-10-01 13:02:24 +02:00
antirez
86d48efbfd
Lazyfree: Convert Sets to use plains SDS (several commits squashed).
2015-10-01 13:02:24 +02:00
antirez
ac508699de
Lazyfree: client output buffers no longer use Redis Objects.
2015-10-01 13:02:24 +02:00
antirez
4ff3c17a20
Lazyfree: client output buffers no longer use Redis Objects.
2015-10-01 13:02:24 +02:00
antirez
ca8d13bd90
Lazyfree: a first implementation of non blocking DEL.
2015-10-01 13:00:19 +02:00
antirez
0c05436cef
Lazyfree: a first implementation of non blocking DEL.
2015-10-01 13:00:19 +02:00
antirez
3b47d3f11d
Call writeToClient() directly instead of the write handler.
2015-09-30 17:41:52 +02:00
antirez
712ea7296d
Call writeToClient() directly instead of the write handler.
2015-09-30 17:41:52 +02:00
antirez
0810ed570e
Fix processEventsWhileBlocked() to handle PENDING_WRITE clients.
...
After the introduction of the list with clients with pending writes, to
process clients incrementally outside of the event loop we also need to
process the pending writes list.
2015-09-30 17:23:44 +02:00
antirez
01c08b5089
Fix processEventsWhileBlocked() to handle PENDING_WRITE clients.
...
After the introduction of the list with clients with pending writes, to
process clients incrementally outside of the event loop we also need to
process the pending writes list.
2015-09-30 17:23:44 +02:00
antirez
af182a200f
Refactoring: unlinkClient() added to lower freeClient() complexity.
2015-09-30 17:10:03 +02:00
antirez
1e7153831d
Refactoring: unlinkClient() added to lower freeClient() complexity.
2015-09-30 17:10:03 +02:00
antirez
8268ed723a
Refactoring: new function to test if client has pending output.
2015-09-30 16:41:48 +02:00
antirez
fdb3be939e
Refactoring: new function to test if client has pending output.
2015-09-30 16:41:48 +02:00
antirez
5fad6cea15
Reverse list of clients with pending writes.
...
May potentially improve locality... not exactly clear if this makes a
difference or not. But for sure is harmless.
2015-09-30 16:29:42 +02:00
antirez
825f65d2bd
Reverse list of clients with pending writes.
...
May potentially improve locality... not exactly clear if this makes a
difference or not. But for sure is harmless.
2015-09-30 16:29:42 +02:00
antirez
eaa5b8d9bc
writeToClient(): don't remove write handler if not needed.
2015-09-30 16:29:42 +02:00
antirez
063ecbd5e5
writeToClient(): don't remove write handler if not needed.
2015-09-30 16:29:42 +02:00
antirez
2fe94ee816
handleClientsWithPendingWrites(): detect dead clients.
2015-09-30 16:29:42 +02:00
antirez
b741a90ce9
handleClientsWithPendingWrites(): detect dead clients.
2015-09-30 16:29:42 +02:00
antirez
7a7b8bc244
Move handleClientsWithPendingWrites() in networking.c.
2015-09-30 16:29:42 +02:00
antirez
481a0db315
Move handleClientsWithPendingWrites() in networking.c.
2015-09-30 16:29:42 +02:00
antirez
e5121eba31
Avoid installing the client write handler when possible.
2015-09-30 16:29:41 +02:00
antirez
1c7d87df0c
Avoid installing the client write handler when possible.
2015-09-30 16:29:41 +02:00
antirez
d638d3de00
redis-cli pipe mode: don't stay in the write loop forever.
...
The code was broken and resulted in redis-cli --pipe to, most of the
times, writing everything received in the standard input to the Redis
connection socket without ever reading back the replies, until all the
content to write was written.
This means that Redis had to accumulate all the output in the output
buffers of the client, consuming a lot of memory.
Fixed thanks to the original report of anomalies in the behavior
provided by Twitter user @fsaintjacques.
2015-09-30 16:24:21 +02:00
antirez
d1b6a17d1e
redis-cli pipe mode: don't stay in the write loop forever.
...
The code was broken and resulted in redis-cli --pipe to, most of the
times, writing everything received in the standard input to the Redis
connection socket without ever reading back the replies, until all the
content to write was written.
This means that Redis had to accumulate all the output in the output
buffers of the client, consuming a lot of memory.
Fixed thanks to the original report of anomalies in the behavior
provided by Twitter user @fsaintjacques.
2015-09-30 16:24:21 +02:00
antirez
c0eb960fc1
Mark version of unstable branch in an unique way.
2015-09-29 17:30:24 +02:00
antirez
622366aa74
Mark version of unstable branch in an unique way.
2015-09-29 17:30:24 +02:00