- 09 Jan, 2019 6 commits
- 11 Dec, 2018 1 commit
-
-
antirez authored
Verified to be able to trigger at least #5632. Does not report other issues.
-
- 07 Dec, 2018 2 commits
- 30 Nov, 2018 1 commit
-
-
zhaozhao.zz authored
-
- 25 Nov, 2018 2 commits
-
-
David Carlier authored
Special treatment here as backtrace support is optional, cannot be found via pkg-config and similar neither.
-
David Carlier authored
FreeBSD/DragonFlyBSD does have backtrace only it does not belong to libc.
-
- 08 Nov, 2018 1 commit
-
-
David Carlier authored
-
- 09 Oct, 2018 1 commit
-
-
antirez authored
Related to #4804.
-
- 30 Jul, 2018 1 commit
-
-
Oran Agra authored
-
- 02 Jul, 2018 1 commit
-
-
antirez authored
-
- 28 Jun, 2018 1 commit
-
-
zhaozhao.zz authored
-
- 18 Jun, 2018 1 commit
-
-
antirez authored
-
- 09 Jun, 2018 1 commit
-
-
Itamar Haber authored
-
- 08 Jun, 2018 1 commit
-
-
antirez authored
-
- 07 Jun, 2018 1 commit
-
-
Itamar Haber authored
-
- 02 Jun, 2018 1 commit
-
-
WuYunlong authored
and will not be inconsistent after we call debug loadaof. Before this commit, there were 2 problems: 1, When appendonly is set to no and there is not a appendonly file, redis-server will crash if we call DEBUG LOADAOF. 2, When appendonly is set to no and there is a appendonly file, redis-server will hold different data after loading appendonly file.
-
- 25 May, 2018 1 commit
-
-
Mota authored
-
- 29 Mar, 2018 1 commit
-
-
zhaozhao.zz authored
-
- 09 Jan, 2018 1 commit
-
-
gnuhpc authored
-
- 06 Dec, 2017 1 commit
-
-
antirez authored
The main change introduced by this commit is pretending that help arrays are more text than code, thus indenting them at level 0. This improves readability, and is an old practice when defining arrays of C strings describing text. Additionally a few useless return statements are removed, and the HELP subcommand capitalized when printed to the user.
-
- 04 Dec, 2017 2 commits
-
-
zhaozhao.zz authored
-
antirez authored
With PSYNC2 to force a full SYNC in tests is hard. With this new DEBUG subcommand we just need to call it and then CLIENT KILL TYPE master in the slave.
-
- 01 Dec, 2017 1 commit
-
-
antirez authored
-
- 28 Nov, 2017 2 commits
-
-
Itamar Haber authored
This adds a new `addReplyHelp` helper that's used by commands when returning a help text. The following commands have been touched: DEBUG, OBJECT, COMMAND, PUBSUB, SCRIPT and SLOWLOG. WIP Fix entry command table entry for OBJECT for HELP option. After #4472 the command may have just 2 arguments. Improve OBJECT HELP descriptions. See #4472. WIP 2 WIP 3
-
Itamar Haber authored
-
- 20 Sep, 2017 1 commit
-
-
zhaozhao.zz authored
This commit is a reinforcement of commit c1c99e9f. 1. Replication information can be stored when the RDB file is generated by a mater using server.slaveseldb when server.repl_backlog is not NULL, or set repl_stream_db be -1. That's safe, because NULL server.repl_backlog will trigger full synchronization, then master will send SELECT command to replicaiton stream. 2. Only do rdbSave* when rsiptr is not NULL, if we do rdbSave* without rdbSaveInfo, slave will miss repl-stream-db. 3. Save the replication informations also in the case of SAVE command, FLUSHALL command and DEBUG reload.
-
- 06 Jul, 2017 1 commit
-
-
antirez authored
-
- 03 Jul, 2017 1 commit
-
-
Jun He authored
Change-Id: I9801239c98cb7362ed07e8b9ec2ba7e45749dba7 Signed-off-by:
Jun He <jun.he@arm.com>
-
- 20 Feb, 2017 1 commit
-
-
antirez authored
This change attempts to switch to an hash function which mitigates the effects of the HashDoS attack (denial of service attack trying to force data structures to worst case behavior) while at the same time providing Redis with an hash function that does not expect the input data to be word aligned, a condition no longer true now that sds.c strings have a varialbe length header. Note that it is possible sometimes that even using an hash function for which collisions cannot be generated without knowing the seed, special implementation details or the exposure of the seed in an indirect way (for example the ability to add elements to a Set and check the return in which Redis returns them with SMEMBERS) may make the attacker's life simpler in the process of trying to guess the correct seed, however the next step would be to switch to a log(N) data structure when too many items in a single bucket are detected: this seems like an overkill in the case of Redis. SPEED REGRESION TESTS: In order to verify that switching from MurmurHash to SipHash had no impact on speed, a set of benchmarks involving fast insertion of 5 million of keys were performed. The result shows Redis with SipHash in high pipelining conditions to be about 4% slower compared to using the previous hash function. However this could partially be related to the fact that the current implementation does not attempt to hash whole words at a time but reads single bytes, in order to have an output which is endian-netural and at the same time working on systems where unaligned memory accesses are a problem. Further X86 specific optimizations should be tested, the function may easily get at the same level of MurMurHash2 if a few optimizations are performed.
-
- 18 Jan, 2017 1 commit
-
-
antirez authored
This is of great interest because allows us to print debugging informations that could be of useful when debugging, like in the following example: serverPanic("Unexpected encoding for object %d, %d", obj->type, obj->encoding);
-
- 02 Jan, 2017 1 commit
-
-
oranagra authored
-
- 30 Dec, 2016 1 commit
-
-
oranagra authored
-
- 24 Dec, 2016 1 commit
-
-
oranagra authored
getExpire calls dictFind which can do rehashing. found by calling computeDatasetDigest from serverCron and running the test suite.
-
- 16 Dec, 2016 1 commit
-
-
antirez authored
The commit improves ziplistRepr() and adds a new debugging subcommand so that we can trigger the dump directly from the Redis API. This command capability was used while investigating issue #3684.
-