redict/src
zhaozhao.zz d56c631343 MEMORY command: make USAGE more accurate
In MEMORY USAGE command, we count the key argv[2] into usage,
but the argument in command may contains free spaces because of
sdsMakeRoomFor. But the key in db never contains free spaces
because we use sdsdup when dbAdd, so using the real key to
count the usage is more accurate.
2018-11-29 01:01:51 +08:00
..
modules Modules: hellodict example WIP #3: KEYRANGE. 2018-09-27 17:01:35 +02:00
.gitignore Ignore gcov/lcov artifacts 2012-04-13 17:52:33 -07:00
adlist.c adlist: fix listJoin() in the case the second list is empty. 2017-11-28 18:25:14 +01:00
adlist.h Modules TSC: Handling of RM_Reply* functions. 2017-05-02 15:05:39 +02:00
ae_epoll.c various cleanups and minor fixes 2016-04-25 16:49:57 +03:00
ae_evport.c ae.c event loop: API to resize the fd set size on the run. 2013-06-28 16:39:49 +02:00
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 Fix indentation. 2018-07-04 20:04:06 +08:00
ae.h Fix ae.c when a timer finalizerProc adds an event. 2018-03-28 14:11:04 +02:00
anet.c fix missed call on freeaddrinfo 2018-03-21 15:34:13 +08:00
anet.h Fix ae.c to avoid timers infinite loop. 2016-04-04 08:50:58 +02:00
aof.c Streams: rewrite empty streams with certain lastid 2018-10-16 23:47:27 +08:00
asciilogo.h BSD license added to every C source and header file. 2012-11-08 18:31:32 +01: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 Threaded lazyfree WIP #1. 2015-10-01 13:02:25 +02:00
bitops.c Fix typo 2018-07-03 18:19:46 +02:00
blocked.c Slave removal: blocked.c logs fixed. 2018-09-11 15:32:28 +02:00
childinfo.c Clear child data when opening the pipes. 2016-09-19 14:11:17 +02:00
cluster.c Use guide comments to make changes in #5462 more obvious. 2018-10-22 17:43:48 +02:00
cluster.h Module cluster flags: add hooks for NO_REDIRECTION flag. 2018-09-19 11:31:22 +02:00
config.c Fix cluster-replica-no-failover option name. 2018-11-07 12:54:46 +01:00
config.h rdb: incremental fsync when redis saves rdb 2018-03-16 00:44:50 +08: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 #5469 from soloestoy/stat-key-miss-if-expired 2018-10-24 12:31:28 +02:00
debug.c only FreeBSD change/little warning addressing 2018-11-08 10:13:52 +00:00
debugmacro.h Use the standard predefined identifier __func__ (since C99) 2016-08-04 15:12:12 +08:00
defrag.c make active defrag test more stable 2018-07-18 10:16:33 +03:00
dict.c dict.c: remove a few trailing spaces. 2018-07-17 10:39:47 +02:00
dict.h dict: fix the int problem for defrag 2017-12-05 15:38:03 +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 Overhead is the allocated size of the AOF buffer, not its length 2018-10-16 11:47:42 -07:00
expire.c fix typo 2018-06-21 22:08:09 +08:00
fmacros.h Silence _BSD_SOURCE warnings in glibc 2.20 and forward 2014-12-05 12:41:59 +11:00
geo.c Fix typo 2018-07-03 18:19:46 +02: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
help.h Update help.h for redis-cli. 2018-10-17 12:57:21 +02:00
hyperloglog.c Fix typo 2018-07-03 18:19:46 +02: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 Adds HELP to LATENCY 2018-11-02 22:58:16 +02:00
latency.h Separate latency monitoring of eviction loop and eviction DELs. 2015-02-11 10:52:27 +01: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 2018-07-13 09:46:30 -06:00
lolwut5.c LOLWUT: capitalize Nees. 2018-10-11 13:00:55 +02:00
lolwut.c LOLWUT: split the command from version-specific implementations. 2018-09-14 12:35:59 +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 only FreeBSD change/little warning addressing 2018-11-08 10:13:52 +00:00
memtest.c Hopefully better memory test on crash. 2015-12-16 17:41:22 +01:00
mkreleasehdr.sh Use SOURCE_DATE_EPOCH over unreproducible uname + date calls. 2016-04-29 16:45:53 +01:00
module.c fix timer context selected database 2018-10-04 17:02:10 +03:30
multi.c AOF: discard if we lost EXEC when loading aof 2018-08-03 23:30:34 +08:00
networking.c asyncCloseClientOnOutputBufferLimitReached(): don't free fake clients. 2018-10-30 13:38:41 +01:00
notify.c Merge pull request #4237 from aspirewit/update-comment 2018-07-17 18:04:55 +02:00
object.c MEMORY command: make USAGE more accurate 2018-11-29 01:01:51 +08:00
pqsort.c No more trailing spaces in Redis source code. 2014-06-26 18:48:40 +02:00
pqsort.h BSD license added to every C source and header file. 2012-11-08 18:31:32 +01:00
pubsub.c addReplySubSyntaxError() renamed to addReplySubcommandSyntaxError(). 2018-07-02 18:49:34 +02:00
quicklist.c Fix typo 2018-07-03 18:19:46 +02:00
quicklist.h several typos fixed, optimize MSETNX to avoid unnecessary loop 2018-10-16 15:48:03 +08:00
rand.c Use 'void' for zero-argument functions 2014-08-08 10:05:32 +02:00
rand.h BSD license added to every C source and header file. 2012-11-08 18:31:32 +01:00
rax_malloc.h Cluster: hash slots tracking using a radix tree. 2017-03-27 16:37:22 +02:00
rax.c Rax: radix tree updated to latest version from antirez/rax. 2018-10-13 14:17:38 +02:00
rax.h Rax: radix tree updated to latest version from antirez/rax. 2018-10-13 14:17:38 +02:00
rdb.c Fix typo 2018-07-03 18:19:46 +02:00
rdb.h fix redis-rdb-check to provide proper arguments to rdbLoadMillisecondTime 2018-06-19 16:54:22 +03:00
redis-benchmark.c redis-benchmark: bugfix - handle zero liveclients in right way 2018-01-03 12:47:25 +08:00
redis-check-aof.c Correct proceding -> proceeding typo. 2017-07-14 22:53:14 +01:00
redis-check-rdb.c Delete unused role checking. 2018-07-12 21:21:37 +08:00
redis-cli.c Merge pull request #5529 from yongman/fix-rediscli-malloc 2018-11-06 12:05:24 +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 Modules: Modules: dictionary API WIP #13: Compare API exported. 2018-09-27 11:46:22 +02:00
release.c No more trailing spaces in Redis source code. 2014-06-26 18:48:40 +02:00
replication.c When replica kills a pending RDB save during SYNC, log it. 2018-10-31 11:47:10 +01:00
rio.c rdb: incremental fsync when redis saves rdb 2018-03-16 00:44:50 +08:00
rio.h fix processing of large bulks (above 2GB) 2017-12-29 12:24:19 +02:00
scripting.c Actually use the protectClient() API where needed. 2018-10-09 13:18:52 +02:00
sds.c bugfix in sdsReqType creating 64bit sds headers on 32bit systems 2018-07-15 18:24:18 +03:00
sds.h Merge pull request #3828 from oranagra/sdsnewlen_pr 2018-02-27 04:04:32 -08:00
sdsalloc.h SDS: changes to unify Redis SDS with antirez/sds repo. 2015-07-25 17:25:44 +02:00
sentinel.c Add support for Sentinel authentication. 2018-10-31 12:56:47 +01:00
server.c fix short period of server.hz being uninitialized 2018-11-05 12:01:26 +02:00
server.h Streams: XSTREAM SETID -> XSETID. 2018-10-16 13:17:14 +02:00
setproctitle.c Fix undefined behavior constant defined. 2017-11-19 16:23:42 +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
siphash.c Clean gcc 7.x warnings, redis-cli cluster fix. 2018-06-03 15:54:30 +03:00
slowlog.c addReplySubSyntaxError() renamed to addReplySubcommandSyntaxError(). 2018-07-02 18:49:34 +02:00
slowlog.h Merge pull request #4056 from season89/unstable 2017-06-20 16:55:29 +02:00
solarisfixes.h Check for __sun macro in solarisfixes.h, not in includers. 2015-01-09 11:23:22 +01:00
sort.c Fix typo 2018-07-03 18:19:46 +02: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 Streams: add streamCompareID() declaration in stream.h. 2018-07-14 15:02:24 +08:00
syncio.c syncWithMaster(): non blocking state machine. 2015-08-06 18:12:20 +02:00
t_hash.c Merge pull request #3745 from guybe7/unstable 2018-02-13 15:50:21 +01:00
t_list.c bugfix: replace lastcmd with cmd when rewrite BRPOPLPUSH as RPOPLPUSH 2018-09-28 12:06:48 +08:00
t_set.c Tranfer -> transfer typo fixed. 2018-07-31 16:41:33 +02:00
t_stream.c Fix XCLAIM missing entry bug. 2018-11-05 13:17:32 +01:00
t_string.c Remove useless complexity from MSET implementation. 2018-10-22 12:24:02 +02:00
t_zset.c Fix zslUpdateScore() edge case. 2018-08-01 19:04:53 +02:00
testhelp.h BSD license added to every C source and header file. 2012-11-08 18:31:32 +01:00
util.c needs it for the global 2018-10-26 14:12:47 +00:00
util.h Fix non Linux build. 2018-10-26 14:02:09 +00:00
valgrind.sup more valgrind friendly test 2011-07-06 15:22:00 +02:00
version.h Mark version of unstable branch in an unique way. 2015-09-29 17:30:24 +02:00
ziplist.c Fix typo 2018-07-03 18:19:46 +02: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 Fix incorrect memory usage accounting in zrealloc 2018-09-30 11:49:03 +02:00
zmalloc.h Fix incorrect memory usage accounting in zrealloc 2018-09-30 11:49:03 +02:00