- 08 Jul, 2019 3 commits
-
-
Oran Agra authored
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
-
Salvatore Sanfilippo authored
SCAN: New Feature `SCAN cursor [TYPE type]` modifier suggested in issue #6107
-
Angus Pearson authored
-
- 07 Jul, 2019 4 commits
-
-
Salvatore Sanfilippo authored
fix build tracking.c should be tracking.o
-
Guy Korland authored
thanks to @rafie
-
Salvatore Sanfilippo authored
Refactored yesno configs so there is less duplication
-
Salvatore Sanfilippo authored
Extend REDISMODULE_CTX_FLAGS to indicate if redis is loading
-
- 05 Jul, 2019 2 commits
-
-
Salvatore Sanfilippo authored
Adds RedisModule_ReplyWithCString
-
antirez authored
-
- 04 Jul, 2019 2 commits
- 03 Jul, 2019 3 commits
- 30 Jun, 2019 2 commits
- 29 Jun, 2019 1 commit
-
-
antirez authored
-
- 13 Jun, 2019 2 commits
-
-
Madelyn Olson authored
-
Angus Pearson authored
-
- 12 Jun, 2019 1 commit
-
-
swilly22 authored
-
- 10 Jun, 2019 1 commit
-
-
Angus Pearson authored
and to keep OBJ_* enum to string canonicalization in one place.
-
- 07 Jun, 2019 2 commits
-
-
Salvatore Sanfilippo authored
Fixed some spelling issues in ACL codepath including a user facing error
-
Madelyn Olson authored
-
- 05 Jun, 2019 2 commits
-
-
Salvatore Sanfilippo authored
Redis Benchmark: prevent CONFIG failure from exiting program
-
artix authored
-
- 22 May, 2019 1 commit
-
-
Angus Pearson authored
Add tests to check basic functionality of this optional keyword, and also tested with a module (redisgraph). Checked quickly with valgrind, no issues. Copies name the type name canonicalisation code from `typeCommand`, perhaps this would be better factored out to prevent the two diverging and both needing to be edited to add new `OBJ_*` types, but this is a little fiddly with C strings. The [redis-doc](https://github.com/antirez/redis-doc/blob/master/commands.json) repo will need to be updated with this new arg if accepted. A quirk to be aware of here is that the GEO commands are backed by zsets not their own type, so they're not distinguishable from other zsets. Additionally, for sparse types this has the same behaviour as `MATCH` in that it may return many empty results before giving something, even for large `COUNT`s.
-
- 15 May, 2019 5 commits
-
-
Salvatore Sanfilippo authored
Typo fixes in CONTRIBUTING
-
Christian Zeller authored
-
antirez authored
-
antirez authored
CLIENT PAUSE may be used, in other contexts, for a long time making all the slaves time out. Better for now to be more specific about what should disable senidng PINGs. An alternative to that would be to virtually refresh the slave interactions when clients are paused, however for now I went for this more conservative solution.
-
Salvatore Sanfilippo authored
fix cluster failover time out
-
- 14 May, 2019 1 commit
-
-
antirez authored
In fast systems "SLOWLOG RESET" is fast enough to don't be logged even when the time limit is "1" sometimes. Leading to false positives such as: [err]: SLOWLOG - can be disabled in tests/unit/slowlog.tcl Expected '1' to be equal to '0'
-
- 13 May, 2019 2 commits
-
-
antirez authored
-
antirez authored
Now clients that are ready to be terminated asynchronously are processed more often in beforeSleep() instead of being processed in serverCron(). This means that the test will not be able to catch the moment the client was terminated, also note that the 'omem' figure now changes in big steps, because of the new client output buffers layout. So we have to change the test range in order to accomodate for that. Yet the test is useful enough to be worth taking, even if its precision is reduced by this commit. Probably if we get more problems, a thing that makes sense is just to check that the limit is < 200k. That's more than enough actually.
-
- 10 May, 2019 6 commits
-
-
Salvatore Sanfilippo authored
aof: enhance AOF_FSYNC_EVERYSEC, more details in #5985
-
Salvatore Sanfilippo authored
Do not active expire keys in the background when the switch is off.
-
Salvatore Sanfilippo authored
Makefile: 1TD -> STD
-
Salvatore Sanfilippo authored
Preserve client->id for blocked clients.
-
Salvatore Sanfilippo authored
change the comments there may have a mis type
-
Salvatore Sanfilippo authored
delete sdsTest() from REDIS_TEST in server.c to fix build failed
-