summaryrefslogtreecommitdiff
path: root/redis.conf
Commit message (Collapse)AuthorAgeFilesLines
* Adjustments for active defrag defaults and tuningOran Agra2019-11-121-9/+7
| | | | | | | | | | | | | | | | | | | | Reduce default minimum effort, so that when fragmentation is just detected, the impact on the latency will be minor. Reduce the default maximum effort, mainly to prevent a case were a sudden massive deletions, won't trigger an aggressive defrag that will cause latency. When activedefrag is disabled mid-run, reset the 'running' info field, and clear the scan cursor, so that when it'll be re-enabled, a new fresh scan will start. Clearing the 'running' variable is important since lowering the defragger tunables mid-scan won't help, the defragger only considers new threshold when a new scan starts, and during a scan it can only become more aggressive, (when more severe fragmentation is detected), it'll never go less aggressive. So by temporarily disabling activedefrag, one can lower th the tunables. Removing the experimantal warning.
* Typo fix: kill -> stillCarsten Strotmann2019-10-251-4/+3
|
* TLS: Improve CA certifiate configuration options.Yossi Gottlieb2019-10-081-2/+4
| | | | | | | This adds support for explicit configuration of a CA certs directory (in addition to the previously supported bundle file). For redis-cli, if no explicit CA configuration is supplied the system-wide default configuration will be adopted.
* TLS: Configuration options.Yossi Gottlieb2019-10-071-0/+24
| | | | | Add configuration options for TLS protocol versions, ciphers/cipher suites selection, etc.
* TLS: Connections refactoring and TLS support.Yossi Gottlieb2019-10-071-0/+44
| | | | | | | | * Introduce a connection abstraction layer for all socket operations and integrate it across the code base. * Provide an optional TLS connections implementation based on OpenSSL. * Pull a newer version of hiredis with TLS support. * Tests, redis-cli updates for TLS support.
* Mark diskless loads as experimental in redis.conf.antirez2019-07-251-6/+16
|
* Client side caching: document tracking-table-max-fill in redis.conf.antirez2019-07-241-0/+33
|
* Example redis.conf: stay under 80 cols.antirez2019-07-241-31/+33
|
* Remove experimental warning from diskless replication.antirez2019-07-241-4/+0
|
* diskless replication on slave side (don't store rdb to file), plus some ↵Oran Agra2019-07-081-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | other related fixes The implementation of the diskless replication was currently diskless only on the master side. The slave side was still storing the received rdb file to the disk before loading it back in and parsing it. This commit adds two modes to load rdb directly from socket: 1) when-empty 2) using "swapdb" the third mode of using diskless slave by flushdb is risky and currently not included. other changes: -------------- distinguish between aof configuration and state so that we can re-enable aof only when sync eventually succeeds (and not when exiting from readSyncBulkPayload after a failed attempt) also a CONFIG GET and INFO during rdb loading would have lied When loading rdb from the network, don't kill the server on short read (that can be a network error) Fix rdb check when performed on preamble AOF tests: run replication tests for diskless slave too make replication test a bit more aggressive Add test for diskless load swapdb
* removed obsolete warning as per - https://github.com/antirez/redis/issues/5291abhay2019-04-261-7/+1
|
* Gopher: document the feature in redis.conf.antirez2019-02-251-0/+55
|
* ACL: Document masteruser option in redis.conf.antirez2019-02-121-0/+11
|
* ACL: some documentation inside redis.conf.antirez2019-02-081-0/+88
|
* ACL: redis.conf: mark old ACL-alike stuff as deprecated.antirez2019-02-051-9/+28
|
* redis.conf typo fixed: ingore -> ignore.antirez2018-10-151-1/+1
|
* Fix typo in commentPavel Skuratovich2018-09-241-1/+1
|
* Slave removal: capitalize ReplicaJakub Vrana2018-09-111-4/+4
|
* Slave removal: Make obvious in redis.conf what a replica is.antirez2018-09-111-0/+5
|
* Slave removal: fix typo of replicaof.antirez2018-09-111-1/+1
|
* Slave removal: slave -> replica in redis.conf and output buffer option.antirez2018-09-111-128/+128
|
* Document slave-ignore-maxmemory in redis.conf.antirez2018-08-271-0/+20
|
* Document dynamic-hz in the example redis.conf.antirez2018-07-301-0/+16
|
* Fix typoJack Drogon2018-07-031-1/+1
|
* Merge pull request #4758 from soloestoy/rdb-save-incremental-fsyncSalvatore Sanfilippo2018-06-161-0/+6
|\ | | | | Rdb save incremental fsync
| * add rdb-save-incremental-fsync option in redis.confzhaozhao.zz2018-03-161-0/+6
| |
* | fix stream config typoshenlongxing2018-06-071-1/+1
| |
* | Streams: better document the max node limits.antirez2018-06-071-1/+4
| |
* | Streams: use non static macro node limits.antirez2018-06-071-0/+8
| | | | | | | | | | Also add the concept of size/items limit, instead of just having as limit the number of bytes.
* | AOF: enable RDB-preamble rewriting by default.antirez2018-03-251-4/+1
| | | | | | | | | | | | | | | | | | | | There are too many advantages in doing this, RDB is faster to persist, more compact, much faster to load back. The main issues here are that the code is less tested because this was not the old default (so we are enabling it for the new 5.0 release), and that the AOF is no longer a trivially parsable format from now on. However the non-preamble mode will be supported in the future as well, if new data types will be added.
* | Merge pull request #4691 from oranagra/active_defrag_v2Salvatore Sanfilippo2018-03-221-1/+5
|\ \ | | | | | | Active defrag v2
| * | active defrag v2Oran Agra2018-03-121-1/+5
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | - big keys are not defragged in one go from within the dict scan instead they are scanned in parts after the main dict hash bucket is done. - add latency monitor sample for defrag - change default active-defrag-cycle-min to induce lower latency - make active defrag start a new scan right away if needed, so it's easier (for the test suite) to detect when it's done - make active defrag quick the current cycle after each db / big key - defrag some non key long term global allocations - some refactoring for smaller functions and more reusable code - during dict rehashing, one scan iteration of the dict, can end up scanning one bucket in the smaller dict and many many buckets in the larger dict. so waiting for 16 scan iterations before checking the time, may be much too long.
* | Cluster: ability to prevent slaves from failing over their masters.antirez2018-03-141-0/+10
|/ | | | | | | | | | | | | | | | | | | | | | This commit, in some parts derived from PR #3041 which is no longer possible to merge (because the user deleted the original branch), implements the ability of slaves to have a special configuration preventing that they try to start a failover when the master is failing. There are multiple reasons for wanting this, and the feautre was requested in issue #3021 time ago. The differences between this patch and the original PR are the following: 1. The flag is saved/loaded on the nodes configuration. 2. The 'myself' node is now flag-aware, the flag is updated as needed when the configuration is changed via CONFIG SET. 3. The flag name uses NOFAILOVER instead of NO_FAILOVER to be consistent with existing NOADDR. 4. The redis.conf documentation was rewritten. Thanks to @deep011 for the original patch.
* Document new protocol options in #4568 into redis.conf.antirez2018-01-111-0/+14
|
* fix some notesWuYunlong2017-12-051-1/+3
|
* Merge pull request #4165 from zyegfryed/patch-1Salvatore Sanfilippo2017-11-281-3/+3
|\ | | | | Fix some typos
| * Fix some typosSébastien Fievet2017-07-261-3/+3
| |
* | Typo fixShaun Webb2017-07-271-1/+1
|/
* Defrag: document the feature in redis.conf.antirez2017-01-111-6/+49
|
* active memory defragmentationoranagra2016-12-301-0/+20
|
* Merge pull request #3498 from ZhukovAlexander/patch-1Salvatore Sanfilippo2016-12-201-1/+1
|\ | | | | Fix an article usage
| * Fix an article usageAlexander Zhukov2016-09-121-1/+1
| |
* | Only show Redis logo if logging to stdout / TTY.antirez2016-12-191-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | You can still force the logo in the normal logs. For motivations, check issue #3112. For me the reason is that actually the logo is nice to have in interactive sessions, but inside the logs kinda loses its usefulness, but for the ability of users to recognize restarts easily: for this reason the new startup sequence shows a one liner ASCII "wave" so that there is still a bit of visual clue. Startup logging was modified in order to log events in more obvious ways, and to log more events. Also certain important informations are now more easy to parse/grep since they are printed in field=value style. The option --always-show-logo in redis.conf was added, defaulting to no.
* | Merge branch 'psync2' into unstableantirez2016-11-171-0/+4
|\ \
| * | PSYNC2: different improvements to Redis replication.antirez2016-11-091-0/+4
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The gist of the changes is that now, partial resynchronizations between slaves and masters (without the need of a full resync with RDB transfer and so forth), work in a number of cases when it was impossible in the past. For instance: 1. When a slave is promoted to mastrer, the slaves of the old master can partially resynchronize with the new master. 2. Chained slalves (slaves of slaves) can be moved to replicate to other slaves or the master itsef, without requiring a full resync. 3. The master itself, after being turned into a slave, is able to partially resynchronize with the new master, when it joins replication again. In order to obtain this, the following main changes were operated: * Slaves also take a replication backlog, not just masters. * Same stream replication for all the slaves and sub slaves. The replication stream is identical from the top level master to its slaves and is also the same from the slaves to their sub-slaves and so forth. This means that if a slave is later promoted to master, it has the same replication backlong, and can partially resynchronize with its slaves (that were previously slaves of the old master). * A given replication history is no longer identified by the `runid` of a Redis node. There is instead a `replication ID` which changes every time the instance has a new history no longer coherent with the past one. So, for example, slaves publish the same replication history of their master, however when they are turned into masters, they publish a new replication ID, but still remember the old ID, so that they are able to partially resynchronize with slaves of the old master (up to a given offset). * The replication protocol was slightly modified so that a new extended +CONTINUE reply from the master is able to inform the slave of a replication ID change. * REPLCONF CAPA is used in order to notify masters that a slave is able to understand the new +CONTINUE reply. * The RDB file was extended with an auxiliary field that is able to select a given DB after loading in the slave, so that the slave can continue receiving the replication stream from the point it was disconnected without requiring the master to insert "SELECT" statements. This is useful in order to guarantee the "same stream" property, because the slave must be able to accumulate an identical backlog. * Slave pings to sub-slaves are now sent in a special form, when the top-level master is disconnected, in order to don't interfer with the replication stream. We just use out of band "\n" bytes as in other parts of the Redis protocol. An old design document is available here: https://gist.github.com/antirez/ae068f95c0d084891305 However the implementation is not identical to the description because during the work to implement it, different changes were needed in order to make things working well.
* | TypoMichel Tresseras2016-10-241-1/+1
|/
* Document RDB preamble in AOF rewrites in redis.conf.antirez2016-08-241-0/+14
|
* Ability of slave to announce arbitrary ip/port to master.antirez2016-07-271-0/+29
| | | | | | | | | This feature is useful, especially in deployments using Sentinel in order to setup Redis HA, where the slave is executed with NAT or port forwarding, so that the auto-detected port/ip addresses, as listed in the "INFO replication" output of the master, or as provided by the "ROLE" command, don't match the real addresses at which the slave is reachable for connections.
* LFU: make counter log factor and decay time configurable.lfuantirez2016-07-201-11/+71
|
* Enable tcp-keepalive by default.antirez2016-06-131-2/+3
|