- 28 Nov, 2019 2 commits
-
-
Oran Agra authored
Changes in behavior: - Change server.stream_node_max_entries from int64_t to long long, so that it can be used by the generic infra - standard error reply instead of "repl-backlog-size must be 1 or greater" and such - tls-port and a few TLS booleans were readable (config get) even when USE_OPENSSL was off (now they aren't) - syslog-enabled, syslog-ident, cluster-enabled, appendfilename, and supervised didn't have a get (now they do) - pidfile was initialized to NULL in InitServerConfig but had CONFIG_DEFAULT_PID_FILE in rewriteConfig (so the real default was "", but rewrite would cause it to be set), fixed the rewrite. - TLS config in server.h was uninitialized (if no tls config args were provided) Adding test for sanity and coverage
-
Oran Agra authored
- Adding is_valid_fn and update_fn, both return 1 for success and 0 for failure with an optional error message. - Bugfix in handling boundary check of unsigned numeric types (was boundaries as signed) - Adding more numeric types to generic mechanism: uint, ulonglong, long, time_t, off_t - More verbose error replies ("argument must be between" in out of range CONFIG SET (like config file parsing)
-
- 26 Nov, 2019 1 commit
-
-
Oran Agra authored
- add capability for each config to have a callback to check if value is valid and return error string will enable converting many of the remaining custom configs into generic ones (reducing the x4 repetition for set,get,config,rewrite) - add capability for each config to to run some update code after config is changed (only for CONFIG SET) will also enable converting many of the remaining custom configs into generic ones - add capability to move default values from server.h and server.c to config.c will reduce many excess lines in server.h and server.c (plus, no need to rebuild the entire code base when a default change 8-)) other behavior changes: - fix bug in bool config get (always returning 'yes') - fix a bug in modifying jemalloc-bg-thread at runtime (didn't call set_jemalloc_bg_thread, due to bad merge conflict resolution (my fault)) - side effect when a failed attempt to enable activedefrag at runtime, we now respond with -ERR and not with -DISABLED
-
- 25 Nov, 2019 4 commits
-
-
Salvatore Sanfilippo authored
try to fix an unstable test (module hook for loading progress)
-
Salvatore Sanfilippo authored
Add macro in bio.h
-
Salvatore Sanfilippo authored
fix move command: WATCH/MULTI/EXEC mechanism breaks
-
Salvatore Sanfilippo authored
Add missing header
-
- 22 Nov, 2019 6 commits
-
-
antirez authored
-
Salvatore Sanfilippo authored
Refactored configs into types that can be generic
-
Madelyn Olson authored
-
Madelyn Olson authored
-
Madelyn Olson authored
-
Madelyn Olson authored
-
- 21 Nov, 2019 7 commits
-
-
Salvatore Sanfilippo authored
Add module api for looking into INFO fields
-
Salvatore Sanfilippo authored
-
Salvatore Sanfilippo authored
Support streams in general module API functions
-
antirez authored
-
Salvatore Sanfilippo authored
Expose used memory to modules via redismodule api
-
Salvatore Sanfilippo authored
-
Daniel Dai authored
macro fix
-
- 20 Nov, 2019 4 commits
-
-
Madelyn Olson authored
-
Salvatore Sanfilippo authored
Adjustments for active defrag defaults
-
Salvatore Sanfilippo authored
fix typo in scripting.acl
-
Daniel Dai authored
-
- 19 Nov, 2019 16 commits
-
-
Oran Agra authored
there were two lssues, one is taht BGREWRITEAOF failed since the initial one was still in progress the solution for this one is to enable appendonly from the server startup so there's no initial aofrw. the other problem was 0 loading progress events, theory is that on some platforms a sleep of 1 will cause a much greater delay due to the context switch, but on other platform it doesn't. in theory a sleep of 100 micro for 1k keys whould take 100ms, and with hz of 500 we should be gettering 50 events (one every 2ms). in practise it doesn't work like that, so trying to find a sleep that would be long enough but still not cause the test to take too long.
-
Salvatore Sanfilippo authored
Module API: add support for long double conversions and replies
-
Salvatore Sanfilippo authored
-
Salvatore Sanfilippo authored
rename RN_SetLRUOrLFU -> RM_SetLRU and RN_SetLFU
-
antirez authored
-
Salvatore Sanfilippo authored
Redis sentinel kill pubsub client connections as well
-
antirez authored
-
Salvatore Sanfilippo authored
fix leak in module api rdb test
-
antirez authored
-
Salvatore Sanfilippo authored
Update adlist.h
-
Salvatore Sanfilippo authored
Improve RM_Call() errno classification.
-
Salvatore Sanfilippo authored
aof: fix assignment for aof_fsync_offset
-
Salvatore Sanfilippo authored
test infra: improve prints on failed assertions
-
antirez authored
-
antirez authored
-
Salvatore Sanfilippo authored
expires & blocking: handle ready keys as call()
-