redict/src
antirez f69876280c Speedup INFO by counting client memory incrementally.
Related to #5145.

Design note: clients may change type when they turn into replicas or are
moved into the Pub/Sub category and so forth. Moreover the recomputation
of the bytes used is problematic for obvious reasons: it changes
continuously, so as a conservative way to avoid accumulating errors,
each client remembers the contribution it gave to the sum, and removes
it when it is freed or before updating it with the new memory usage.
2020-04-07 12:07:54 +02:00
..
modules Added some documentation and fixed a test 2019-12-17 07:15:04 +00:00
.gitignore
acl.c ACL: Make Redis 6 more backward compatible with requirepass. 2020-03-16 16:57:12 +01:00
adlist.c adlist: fix listJoin() in the case the second list is empty. 2017-11-28 18:25:14 +01:00
adlist.h Update adlist.h 2019-11-13 10:14:45 +08:00
ae_epoll.c diskless replication rdb transfer uses pipe, and writes to sockets form the parent process. 2019-10-07 21:06:30 +03:00
ae_evport.c
ae_kqueue.c No more trailing spaces in Redis source code. 2014-06-26 18:48:40 +02:00
ae_select.c Include 'fd_set' type name 2016-06-07 16:46:00 -04:00
ae.c ae.c: fix crash when resizing the event loop. 2020-03-12 13:24:30 +01:00
ae.h Code review minor changes (names, comments). 2019-10-15 17:21:51 +03:00
anet.c TLS: Connections refactoring and TLS support. 2019-10-07 21:06:13 +03:00
anet.h TLS: Connections refactoring and TLS support. 2019-10-07 21:06:13 +03:00
aof.c Modules: Test MULTI/EXEC replication of RM_Replicate 2020-03-31 13:55:51 +03:00
asciilogo.h string literal should be const char* 2020-03-07 19:38:27 +08:00
atomicvar.h several typos fixed, optimize MSETNX to avoid unnecessary loop 2018-10-16 15:48:03 +08:00
bio.c Fix typo in design comment of bio.c. 2018-10-05 18:29:23 +02:00
bio.h macro fix 2019-11-20 20:39:04 -05:00
bitops.c Fix BITFIELD_RO test. 2020-03-23 12:02:12 +01:00
blocked.c timeout.c created: move client timeouts code there. 2020-03-27 16:35:03 +01:00
childinfo.c Module API for Forking 2019-07-17 16:40:24 +03:00
cluster.c Merge pull request #7006 from hwware/fixspelling 2020-04-02 11:23:53 +02:00
cluster.h Split error message so dependandent callers give a useful result 2019-12-16 23:34:37 -08:00
config.c Merge pull request #6243 from soloestoy/expand-lazy-free-server-del 2020-04-06 17:27:39 +02:00
config.h OpenBSD support. 2018-11-25 08:10:26 +00:00
connection.c Conns: Fix connClose() / connAccept() behavior. 2020-03-22 14:42:03 +02:00
connection.h Conns: Fix connClose() / connAccept() behavior. 2020-03-22 14:42:03 +02:00
connhelpers.h Conns: Fix connClose() / connAccept() behavior. 2020-03-22 14:42:03 +02:00
crc16_slottable.h Added basic support for clusters to redis-benchmark. 2019-03-01 17:53:14 +01:00
crc16.c RDMF (Redis/Disque merge friendlyness) refactoring WIP 1. 2015-07-26 15:17:18 +02:00
crc64.c Allow all code tests to run using Redis args 2014-12-23 09:31:03 -05:00
crc64.h Allow all code tests to run using Redis args 2014-12-23 09:31:03 -05:00
db.c Merge pull request #6243 from soloestoy/expand-lazy-free-server-del 2020-04-06 17:27:39 +02:00
debug.c Merge pull request #6813 from guybe7/debug_object_pass_keyname 2020-04-02 16:20:48 +02:00
debugmacro.h Use the standard predefined identifier __func__ (since C99) 2016-08-04 15:12:12 +08:00
defrag.c Defrag big lists in portions to avoid latency and freeze 2020-02-18 17:22:32 +02:00
dict.c Merge pull request #7033 from OMG-By/unstable 2020-03-29 16:17:52 +02:00
dict.h Better distribution for set get-random-element operations. 2019-02-18 18:27:18 +01:00
endianconv.c Allow all code tests to run using Redis args 2014-12-23 09:31:03 -05:00
endianconv.h Fix typo 2018-07-03 18:19:46 +02:00
evict.c fix issues found by a static analyzer 2019-10-07 09:09:32 +03:00
expire.c PERSIST should notify a keyspace event 2020-03-29 17:50:42 +03:00
fmacros.h Silence _BSD_SOURCE warnings in glibc 2.20 and forward 2014-12-05 12:41:59 +11:00
geo.c Fix GEOHASH negative shifting in a more compatible way. 2019-12-18 12:57:32 +01:00
geo.h RDMF (Redis/Disque merge friendlyness) refactoring WIP 1. 2015-07-26 15:17:18 +02:00
geohash_helper.c Fix GEORADIUS edge case with huge radius. 2017-07-03 19:38:31 +02:00
geohash_helper.h Fix definition of M_PI in geohash_helper.c. 2016-07-06 16:31:11 +02:00
geohash.c Use geohash limit defines in constraint check 2018-09-02 00:06:20 -07:00
geohash.h Multiple GEORADIUS bugs fixed. 2016-07-27 11:34:25 +02:00
gopher.c Gopher: don't add the Lastline. 2019-02-24 21:38:15 +01:00
help.h Update help.h for redis-cli. 2018-10-17 12:57:21 +02:00
hyperloglog.c Free allocated sds in pfdebugCommand() to avoid memory leak. 2020-01-07 11:17:52 +08:00
intset.c several typos fixed, optimize MSETNX to avoid unnecessary loop 2018-10-16 15:48:03 +08:00
intset.h Use const in Redis Module API where possible. 2016-06-20 23:08:06 +03:00
latency.c fix comments in latency.c 2020-03-12 20:44:32 +08:00
latency.h Module API for LatencyAddSample 2019-10-24 14:24:55 +03:00
lazyfree.c refactor dbOverwrite to make lazyfree work 2018-07-31 12:07:57 +08:00
listpack_malloc.h Streams: change listpack allocator to zmalloc. 2017-12-01 10:24:24 +01:00
listpack.c Listpack: optionally force reallocation on inserts. 2018-10-02 19:37:36 +02:00
listpack.h Streams: 12 commits squashed into the initial Streams implementation. 2017-12-01 10:24:24 +01:00
localtime.c update leap year comment when div by 400 2018-09-18 17:04:00 +08:00
lolwut5.c LOLWUT: version 6 initial output. May change a bit. 2019-10-07 18:24:34 +02:00
lolwut6.c LOLWUT 6: always pick a default color sequence. 2019-10-28 11:10:58 +01:00
lolwut.c LOLWUT: version 6 initial output. May change a bit. 2019-10-07 18:24:34 +02:00
lolwut.h LOLWUT: version 6 initial output. May change a bit. 2019-10-07 18:24:34 +02:00
lzf_c.c Upgrade LZF to 3.6 (2011) from 3.5 (2009) 2015-01-02 11:16:10 -05:00
lzf_d.c Try to avoid issues with GCC pragmas and older compilers. 2018-09-28 13:00:44 +02:00
lzf.h No more trailing spaces in Redis source code. 2014-06-26 18:48:40 +02:00
lzfP.h Fix undefined behavior constant defined. 2017-11-19 16:23:42 +00:00
Makefile timeout.c created: move client timeouts code there. 2020-03-27 16:35:03 +01:00
memtest.c Hopefully better memory test on crash. 2015-12-16 17:41:22 +01:00
mkreleasehdr.sh Update mkreleasehdr.sh 2019-11-19 17:23:47 +08:00
module.c Merge pull request #6694 from oranagra/signal_modified_key 2020-04-02 19:00:20 +02:00
multi.c ACL LOG: log failed auth attempts. 2020-02-04 12:55:26 +01:00
networking.c Speedup INFO by counting client memory incrementally. 2020-04-07 12:07:54 +02:00
notify.c Exclude "keymiss" notification from NOTIFY_ALL 2020-02-03 15:43:44 +05:30
object.c Speedup INFO by counting client memory incrementally. 2020-04-07 12:07:54 +02:00
pqsort.c No more trailing spaces in Redis source code. 2014-06-26 18:48:40 +02:00
pqsort.h
pubsub.c Merge branch 'pubsub_patterns_boost' of https://github.com/leeyiw/redis into leeyiw-pubsub_patterns_boost 2020-03-31 12:40:08 +02:00
quicklist.c fix integer overflow 2020-04-02 23:43:47 +08:00
quicklist.h Defrag big lists in portions to avoid latency and freeze 2020-02-18 17:22:32 +02:00
rand.c Use 'void' for zero-argument functions 2014-08-08 10:05:32 +02:00
rand.h
rax_malloc.h Cluster: hash slots tracking using a radix tree. 2017-03-27 16:37:22 +02:00
rax.c Rax.c: populate data field after random walk. 2020-02-07 18:12:10 +01:00
rax.h Rax: radix tree updated to latest version from antirez/rax. 2018-10-13 14:17:38 +02:00
rdb.c fix comments about RESIZE DB opcode in rdb.c 2020-04-06 20:52:32 +08:00
rdb.h DEBUG OBJECT should pass keyname to module when loading 2020-01-30 19:15:12 +05:30
redis-benchmark.c Client side caching: redis-cli ability to enable tracking. 2019-07-22 18:45:47 +02:00
redis-check-aof.c Enlarge error buffer in redis-check-aof.c to remove compiler warning of output truncation through snprintf format string 2019-05-08 12:13:45 +01:00
redis-check-rdb.c Modules hooks: complete missing hooks for the initial set of hooks 2019-10-29 17:59:09 +02:00
redis-cli.c Merge pull request #7005 from hwware/memoryleakfix-redis-cli 2020-03-23 11:14:46 +01:00
redis-trib.rb Redis-trib deprecated: it no longer works and it 2018-07-13 10:51:58 +02:00
redisassert.h Fix typo 2018-07-03 18:19:46 +02:00
redismodule.h Use __attribute__ only if __GNUC__ is defined 2020-04-03 14:49:40 +03:00
release.c Speedup INFO server section. 2019-10-02 11:30:20 +02:00
replication.c PSYNC2: reset backlog_idx and master_repl_offset correctly 2020-03-28 20:59:01 +08:00
rio.c diskless replication rdb transfer uses pipe, and writes to sockets form the parent process. 2019-10-07 21:06:30 +03:00
rio.h diskless replication rdb transfer uses pipe, and writes to sockets form the parent process. 2019-10-07 21:06:30 +03:00
scripting.c Merge pull request #6797 from patpatbear/issue_#6565_memory_borderline 2020-04-06 11:59:01 +02:00
sds.c SDS: make sdscatfmt() faster by pre-allocating a bit. 2019-10-02 11:30:20 +02:00
sds.h Mark extern definition of SDS_NOINIT in sds.h 2019-12-21 11:47:31 -08:00
sdsalloc.h add missing file marco 2020-02-22 11:38:51 -05:00
sentinel.c ACL: Make Redis 6 more backward compatible with requirepass. 2020-03-16 16:57:12 +01:00
server.c Speedup INFO by counting client memory incrementally. 2020-04-07 12:07:54 +02:00
server.h Speedup INFO by counting client memory incrementally. 2020-04-07 12:07:54 +02:00
setproctitle.c DragonFlyBSD little build fix 2018-11-11 18:49:55 +00:00
sha1.c sha1.c: use standard uint32_t. 2015-04-27 12:07:49 +02:00
sha1.h sha1.c: use standard uint32_t. 2015-04-27 12:07:49 +02:00
sha256.c ACL: add slightly modified version of sha256.c for password hashing. 2019-09-12 12:21:37 +02:00
sha256.h ACL: add slightly modified version of sha256.c for password hashing. 2019-09-12 12:21:37 +02:00
siphash.c The aarch64 architecture is support normal memory unaligned accesses, 2019-09-04 12:14:25 +00:00
slowlog.c RESP3: Use new aggregate reply API in slowlog.c. 2019-01-09 17:00:29 +01:00
slowlog.h Added the missed macro definition in slowlog.h 2019-12-02 00:28:41 -05:00
solarisfixes.h Check for __sun macro in solarisfixes.h, not in includers. 2015-01-09 11:23:22 +01:00
sort.c Avoid changing setKey() API after #6679 fix. 2019-12-18 11:58:02 +01:00
sparkline.c RDMF (Redis/Disque merge friendlyness) refactoring WIP 1. 2015-07-26 15:17:18 +02:00
sparkline.h LATENCY GRAPH implemented. 2014-07-02 16:31:22 +02:00
stream.h Stream: Handle streamID-related edge cases 2019-12-26 15:31:37 +05:30
syncio.c syncWithMaster(): non blocking state machine. 2015-08-06 18:12:20 +02:00
t_hash.c Module API for loading and saving long double 2019-11-03 16:42:31 +02:00
t_list.c block: propagate BRPOPLPUSH as RPOPLPUSH when unblock 2019-11-22 16:38:49 +08:00
t_set.c Fix spop return nil #4709 2019-12-21 21:27:38 +08:00
t_stream.c Merge pull request #7030 from valentinogeron/xread-in-lua 2020-04-03 11:14:13 +02:00
t_string.c Merge branch 'lcs' into unstable 2020-04-06 13:51:55 +02:00
t_zset.c RESP3: fix cases of NULL reported instead of empty aggregate. 2019-09-02 12:50:47 +02:00
testhelp.h
timeout.c Precise timeouts: reference client pointer directly. 2020-03-30 15:22:59 +02:00
tls.c TLS: Improve CA certifiate configuration options. 2019-10-08 17:58:50 +03:00
tracking.c remove redundant Semicolon 2020-03-23 01:07:46 -04:00
util.c Merge pull request #6546 from guybe7/fix_neg_zero 2020-04-02 16:26:57 +02:00
util.h Merge branch 'unstable' into rm_get_server_info 2019-11-21 10:06:15 +01:00
valgrind.sup
version.h Mark version of unstable branch in an unique way. 2015-09-29 17:30:24 +02:00
ziplist.c Update ziplist.c 2019-05-08 12:53:56 +08:00
ziplist.h DEBUG: new "ziplist" subcommand added. Dumps a ziplist on stdout. 2016-12-16 09:02:50 +01:00
zipmap.c Allow all code tests to run using Redis args 2014-12-23 09:31:03 -05:00
zipmap.h Allow all code tests to run using Redis args 2014-12-23 09:31:03 -05:00
zmalloc.c Avoid collision with MacOS LIST_HEAD macro after #6384. 2019-12-02 09:13:29 +01:00
zmalloc.h Avoid collision with MacOS LIST_HEAD macro after #6384. 2019-12-02 09:13:29 +01:00