- 13 Jun, 2019 1 commit
-
-
Angus Pearson authored
-
- 10 Jun, 2019 1 commit
-
-
Angus Pearson authored
and to keep OBJ_* enum to string canonicalization in one place.
-
- 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 11 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
-
Salvatore Sanfilippo authored
fix-inappropriate-add-operation-code
-
Salvatore Sanfilippo authored
Fix uint64_t hash value in active defrag
-
Salvatore Sanfilippo authored
[Minor] Fix build warnings on Linux
-
Salvatore Sanfilippo authored
test cases: skiptill -> skip-till
-
zhaozhao.zz authored
-
- 08 May, 2019 4 commits
-
-
Angus Pearson authored
Enlarge error buffer in redis-check-aof.c to remove compiler warning of output truncation through snprintf format string
-
Angus Pearson authored
-
yongman authored
-
唐权 authored
Hi, @antirez In the code, to get the size of ziplist, "unsigned int bytes = ZIPLIST_HEADER_SIZE+1;" is correct, but why not make it more readable and easy to understand
-
- 07 May, 2019 4 commits
-
-
Salvatore Sanfilippo authored
fix memory leak when rewrite config file
-
zhaozhao.zz authored
-
stan011 authored
-
zhaozhao.zz authored
-
- 06 May, 2019 10 commits
-
-
Salvatore Sanfilippo authored
make replication tests more stable on slow machines
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
-
antirez authored
Potentially it is possible that we get interleaved writes, even if serverLog() makes sure to write into a buffer and then use printf(), so even this should be ok. However in general POSIX guarantees that writing to the same file pointer object from multiple threads is safe. Anyway currently we *reopen* the file at each call, but for the standard output logging. The logging functions actually also access global configuration while performing the log (for instance in order to check the log level, the log filename and so forth), however dunring the I/O threads execution we cannot alter such shared state in any way.
-
antirez authored
-
antirez authored
-