redict/src
Oran Agra 61954951ed
Fix oom-score-adj-values range, abs options, and bug when used in config file (#8046)
Fix: When oom-score-adj-values is provided in the config file after
oom-score-adj yes, it'll take an immediate action, before
readOOMScoreAdj was acquired, resulting in an error (out of range score
due to uninitialized value. delay the reaction the real call is made by
main().

Since the values are clamped to -1000..1000, and they're
applied as an offset from the value at startup (which may be -1000), we
need to allow the offsets to reach to +2000 so that a value of +1000 is
achievable in case the value at startup was -1000.

Adding an option for absolute values rather than relative ones.
2020-11-22 13:57:56 +02:00
..
modules Fix make warning in hellohook,c and testmodule.c (#8044) 2020-11-13 15:16:40 +02:00
.gitignore
acl.c Typo fix: entires -> entries (#8031) 2020-11-08 08:32:38 +02:00
adlist.c optimization src/adlist.c:listJoin() 2020-11-09 21:48:56 -08:00
adlist.h Speedup: unblock clients on keys in O(1). 2020-04-08 12:55:57 +02: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 Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
ae_kqueue.c
ae_select.c
ae.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
ae.h Use H/W Monotonic clock and updates to AE (#7644) 2020-08-28 11:54:10 +03:00
anet.c Add local address to CLIENT LIST, and a CLIENT KILL filter. (#7913) 2020-10-28 21:13:44 +02:00
anet.h Add local address to CLIENT LIST, and a CLIENT KILL filter. (#7913) 2020-10-28 21:13:44 +02:00
aof.c Unified MULTI, LUA, and RM_Call with respect to blocking commands (#8025) 2020-11-17 18:58:55 +02:00
asciilogo.h string literal should be const char* 2020-03-07 19:38:27 +08:00
atomicvar.h Implement redisAtomic to replace _Atomic C11 builtin (#7707) 2020-09-17 16:01:45 +03:00
bio.c Make main thread killable so that it can be canceled at any time. 2020-09-21 12:10:19 +03:00
bio.h macro fix 2019-11-20 20:39:04 -05:00
bitops.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
blocked.c Minor improvements to module blocked on keys (#7903) 2020-10-12 17:13:38 +03:00
childinfo.c docs: Fix some typos in comments and log messge (#7975) 2020-10-28 08:51:35 +02:00
cli_common.c Enable specifying TLS ciphers(suites) in redis-cli/redis-benchmark (#8005) 2020-11-04 14:49:15 +02:00
cli_common.h Enable specifying TLS ciphers(suites) in redis-cli/redis-benchmark (#8005) 2020-11-04 14:49:15 +02:00
cluster.c Fix cluster access to unaligned memory (SIGBUS on old ARM) (#7958) 2020-10-27 16:36:00 +02:00
cluster.h Fix cluster access to unaligned memory (SIGBUS on old ARM) (#7958) 2020-10-27 16:36:00 +02:00
config.c Fix oom-score-adj-values range, abs options, and bug when used in config file (#8046) 2020-11-22 13:57:56 +02:00
config.h fix compilation with uClibc-ng (#8054) 2020-11-20 18:13:11 +02:00
connection.c Add local address to CLIENT LIST, and a CLIENT KILL filter. (#7913) 2020-10-28 21:13:44 +02:00
connection.h Add local address to CLIENT LIST, and a CLIENT KILL filter. (#7913) 2020-10-28 21:13:44 +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
crc64.c Move CRC64 initialization in main(). 2020-05-05 10:20:48 +02:00
crc64.h Implemented CRC64 based on slice by 4 2020-04-24 17:00:03 -07:00
crcspeed.c Typo fix: entires -> entries (#8031) 2020-11-08 08:32:38 +02:00
crcspeed.h Added crcspeed library 2020-04-24 17:11:21 -07:00
db.c EXISTS should not alter LRU, OBJECT should not reveal expired keys on replica (#8016) 2020-11-18 11:16:21 +02:00
debug.c EXISTS should not alter LRU, OBJECT should not reveal expired keys on replica (#8016) 2020-11-18 11:16:21 +02:00
debugmacro.h
defrag.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
dict.c docs: Fix some typos in comments and log messge (#7975) 2020-10-28 08:51:35 +02:00
dict.h Better distribution for set get-random-element operations. 2019-02-18 18:27:18 +01:00
endianconv.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
endianconv.h Fix typo 2018-07-03 18:19:46 +02:00
evict.c performEvictions: mem_freed may be negative (#7908) 2020-10-13 19:50:57 +03:00
expire.c WATCH no longer ignores keys which have expired for MULTI/EXEC. (#7920) 2020-10-22 12:57:45 +03:00
fmacros.h Use H/W Monotonic clock and updates to AE (#7644) 2020-08-28 11:54:10 +03:00
geo.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
geo.h
geohash_helper.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
geohash_helper.h
geohash.c FIX: truncate max/min longitude,latitude related geo_point (ex: {180, 85.05112878} ) 2020-04-09 17:48:29 +08:00
geohash.h
gopher.c Gopher: don't add the Lastline. 2019-02-24 21:38:15 +01:00
help.h Typo fix: entires -> entries (#8031) 2020-11-08 08:32:38 +02:00
hyperloglog.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
intset.c several typos fixed, optimize MSETNX to avoid unnecessary loop 2018-10-16 15:48:03 +08:00
intset.h
latency.c Disable THP if enabled (#7381) 2020-10-27 15:04:18 +02:00
latency.h Disable THP if enabled (#7381) 2020-10-27 15:04:18 +02:00
lazyfree.c Modules callbacks for lazy free effort, and unlink (#7912) 2020-11-16 10:34:04 +02:00
listpack_malloc.h
listpack.c fix 32bit build warnings (#7926) 2020-10-20 09:12:24 +03:00
listpack.h
localtime.c update leap year comment when div by 400 2018-09-18 17:04:00 +08:00
lolwut5.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
lolwut6.c LOLWUT 6: always pick a default color sequence. 2019-10-28 11:10:58 +01:00
lolwut.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
lolwut.h add include guard for lolwut.h 2020-05-05 23:35:08 -04:00
lzf_c.c
lzf_d.c Only supress implitic fallthrough on GCC 7 2020-10-26 21:46:50 -07:00
lzf.h
lzfP.h Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
Makefile TLS Support for redis-benchmark (#7959) 2020-10-28 08:00:54 +02:00
memtest.c Add support for Haiku OS (#7435) 2020-09-29 15:52:13 +03:00
mkreleasehdr.sh Update mkreleasehdr.sh 2019-11-19 17:23:47 +08:00
module.c Unified MULTI, LUA, and RM_Call with respect to blocking commands (#8025) 2020-11-17 18:58:55 +02:00
monotonic.c Use H/W Monotonic clock and updates to AE (#7644) 2020-08-28 11:54:10 +03:00
monotonic.h Use H/W Monotonic clock and updates to AE (#7644) 2020-08-28 11:54:10 +03:00
multi.c Unified MULTI, LUA, and RM_Call with respect to blocking commands (#8025) 2020-11-17 18:58:55 +02:00
networking.c add tracking bcast flag and client redirection in client list (#7995) 2020-11-11 08:22:17 +02:00
notify.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
object.c EXISTS should not alter LRU, OBJECT should not reveal expired keys on replica (#8016) 2020-11-18 11:16:21 +02:00
pqsort.c
pqsort.h
pubsub.c Unified MULTI, LUA, and RM_Call with respect to blocking commands (#8025) 2020-11-17 18:58:55 +02:00
quicklist.c Fix comments of _quicklistSplitNode function. (#4341) 2020-09-09 15:28:38 +03:00
quicklist.h Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
rand.c
rand.h
rax_malloc.h
rax.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
rax.h Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
rdb.c Better INFO fields to track diskless and disk-based replication progress (#7981) 2020-11-05 11:46:16 +02:00
rdb.h Fix redis-check-rdb support for modules aux data (#7826) 2020-09-22 10:18:07 +03:00
redis-benchmark.c Enable specifying TLS ciphers(suites) in redis-cli/redis-benchmark (#8005) 2020-11-04 14:49:15 +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 Added crash report on SIGABRT (#8004) 2020-11-03 14:59:21 +02:00
redis-cli.c Adds user parsing to redis-cli URIs (#8048) 2020-11-12 19:19:18 +02: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 Unified MULTI, LUA, and RM_Call with respect to blocking commands (#8025) 2020-11-17 18:58:55 +02:00
release.c Speedup INFO server section. 2019-10-02 11:30:20 +02:00
replication.c Unified MULTI, LUA, and RM_Call with respect to blocking commands (#8025) 2020-11-17 18:58:55 +02:00
rio.c more strict check in rioConnRead (#7564) 2020-07-24 14:40:19 +08: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 Unified MULTI, LUA, and RM_Call with respect to blocking commands (#8025) 2020-11-17 18:58:55 +02:00
sds.c Allow '\0' inside of result of sdscatvprintf, and efficiency improvements (#6260) 2020-11-04 13:38:46 +02:00
sds.h Mark extern definition of SDS_NOINIT in sds.h 2019-12-21 11:47:31 -08:00
sdsalloc.h performance and memory reporting improvement - sds take control of it's internal frag (#7875) 2020-10-02 08:19:44 +03:00
sentinel.c Add local address to CLIENT LIST, and a CLIENT KILL filter. (#7913) 2020-10-28 21:13:44 +02:00
server.c Fix oom-score-adj-values range, abs options, and bug when used in config file (#8046) 2020-11-22 13:57:56 +02:00
server.h Fix oom-score-adj-values range, abs options, and bug when used in config file (#8046) 2020-11-22 13:57:56 +02:00
setcpuaffinity.c cpu affinity: DragonFlyBSD support (#7956) 2020-10-25 14:14:05 +02:00
setproctitle.c DragonFlyBSD little build fix 2018-11-11 18:49:55 +00:00
sha1.c
sha1.h
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 Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
slowlog.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
slowlog.h Added the missed macro definition in slowlog.h 2019-12-02 00:28:41 -05:00
solarisfixes.h
sort.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
sparkline.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
sparkline.h
stream.h Add COPY command (#7953) 2020-11-17 12:03:05 +02:00
syncio.c
t_hash.c Add COPY command (#7953) 2020-11-17 12:03:05 +02:00
t_list.c Unified MULTI, LUA, and RM_Call with respect to blocking commands (#8025) 2020-11-17 18:58:55 +02:00
t_set.c Add COPY command (#7953) 2020-11-17 12:03:05 +02:00
t_stream.c Unified MULTI, LUA, and RM_Call with respect to blocking commands (#8025) 2020-11-17 18:58:55 +02:00
t_string.c Propagate GETSET and SET-GET as SET (#7957) 2020-11-03 14:56:57 +02:00
t_zset.c Unified MULTI, LUA, and RM_Call with respect to blocking commands (#8025) 2020-11-17 18:58:55 +02:00
testhelp.h
timeout.c Add missing calls to raxStop (#7532) 2020-07-21 08:13:05 +03:00
tls.c Module API: Add RM_GetClientCertificate(). (#7866) 2020-10-11 17:11:42 +03:00
tracking.c Introduce getKeysResult for getKeysFromCommand. 2020-10-11 16:04:14 +03:00
util.c stringmatchlen() should not expect null terminated strings. 2020-05-06 16:18:21 +02:00
util.h Merge branch 'unstable' into rm_get_server_info 2019-11-21 10:06:15 +01:00
valgrind.sup Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
version.h Add Module API for version and compatibility checks (#7865) 2020-10-11 17:21:58 +03:00
ziplist.c Fix printf format specifier for unsigned in ziplistRepr (#7907) 2020-10-13 12:42:52 +03:00
ziplist.h
zipmap.c Squash merging 125 typo/grammar/comment/doc PRs (#7773) 2020-09-10 13:43:38 +03:00
zipmap.h
zmalloc.c DragonFlyBSD resident memory amount (almost) similar as FreeBSD. (#8023) 2020-11-08 09:16:14 +02:00
zmalloc.h performance and memory reporting improvement - sds take control of it's internal frag (#7875) 2020-10-02 08:19:44 +03:00