10729 Commits

Author SHA1 Message Date
Dvir Volk
040e52c77f Renamed event name from "miss" to "keymiss" 2019-03-21 20:33:11 +02:00
Oran Agra
29b0a57695 diskless fork kept streaming RDB to a disconnected slave 2019-03-21 20:24:52 +02:00
Yossi Gottlieb
6c0a5fde3d CommandFilter API: REDISMODULE_CMDFILTER_NOSELF.
Add a flag to automatically protect filters from being called
recursively by their own module.
2019-03-21 19:53:12 +02:00
Yossi Gottlieb
4ea3ed896b CommandFilter API: fix UnregisterCommandFilter. 2019-03-21 19:45:41 +02:00
antirez
b3408e9a9b More sensible name for function: restartAOFAfterSYNC().
Related to #3829.
2019-03-21 17:21:29 +01:00
antirez
9588fd52ac Mostly aesthetic changes to restartAOF().
See #3829.
2019-03-21 17:18:24 +01:00
Salvatore Sanfilippo
544373ea66
Merge pull request #3829 from oranagra/restart_aof_pr
bugfix to restartAOF, exit will never happen
2019-03-21 17:15:55 +01:00
Yossi Gottlieb
e2626f69ec CommandFilter API: Add unregister option.
A filter handle is returned and can be used to unregister a filter.  In
the future it can also be used to further configure or manipulate the
filter.

Filters are now automatically unregistered when a module unloads.
2019-03-21 14:44:49 +02:00
Salvatore Sanfilippo
d75c36ee48
Merge pull request #5390 from oranagra/lookup_key_write
change SORT and SPOP to use lookupKeyWrite rather than lookupKeyRead
2019-03-21 13:39:38 +01:00
antirez
9dabbd1ab0 Alter coding style in #4696 to conform to Redis code base. 2019-03-21 12:18:55 +01:00
Salvatore Sanfilippo
5c47e2e964
Merge pull request #4696 from oranagra/zrealloc_fix
Fix zrealloc to behave similarly to je_realloc when size is 0
2019-03-21 12:18:04 +01:00
Salvatore Sanfilippo
5c21eca66e
Merge pull request #5243 from oranagra/sigterm_log
Add log when server dies of SIGTERM during loading
2019-03-21 11:54:09 +01:00
Salvatore Sanfilippo
ce518cea79
Merge pull request #5391 from oranagra/touch_flags
getKeysFromCommand for TOUCH only extracted the first key.
2019-03-21 11:53:27 +01:00
Salvatore Sanfilippo
684b140a13
Merge pull request #3650 from yossigo/key_name_from_module_io
Add RedisModule_GetKeyNameFromIO()
2019-03-21 11:49:25 +01:00
Dvir Volk
bc269c85e1 remove extra linebreak 2019-03-21 12:48:37 +02:00
Dvir Volk
4a0ee5c6ac Added missing REDISMODULE_NOTIFY_KEY_MISS flag to REDISMODULE_NOTIFY_ALL 2019-03-21 12:47:51 +02:00
Dvir Volk
99c2fe0bcf added special flag for keyspace miss notifications 2019-03-21 11:47:14 +02:00
Oran Agra
b2e03f8329 diskless replication - notify slave when rdb transfer failed
in diskless replication - master was not notifing the slave that rdb transfer
terminated on error, and lets slave wait for replication timeout
2019-03-20 17:46:19 +02:00
oranagra
c9e2900efc bugfix to restartAOF, exit will never happen since retry will get negative.
also reduce an excess sleep
2019-03-20 17:20:07 +02:00
Oran Agra
747174388f change SORT and SPOP to use lookupKeyWrite rather than lookupKeyRead
like in SUNIONSTORE etc, commands that perform writes are expected to open
all keys, even input keys, with lookupKeyWrite
2019-03-20 17:06:22 +02:00
Oran Agra
385f6190a3 getKeysFromCommand for TOUCH only extracted the first key.
also, airty for COMMAND command was wrong.
2019-03-20 17:00:39 +02:00
John Sully
a12299203c ARM build fix: Don't use X64 asm here
Former-commit-id: b775ebb382240876234e179b73866c7d63a209d6
2019-03-20 04:14:33 +00:00
John Sully
be3272ec38 Add debugging stats to the INFO command
Former-commit-id: ac80a5c6a6676f45ac7d460a9cfb02fef8b48d78
2019-03-19 22:04:33 -04:00
John Sully
81ac409f3e Add release badge
Former-commit-id: c74100a552021b7b3af236349fc30c389b5ea4c2
2019-03-19 20:54:36 -04:00
John Sully
6026413072 Add CI badge
Former-commit-id: 03379106d6ce85c63389a73e78788a3aed589a6f
2019-03-19 20:46:25 -04:00
John Sully
498e64e094 Getting close! Maybe there was a better way to do this than checking in travis.yml files repeatedly but alas it works and doesn't affect people building locally
Former-commit-id: 9ad229f663dc4aff0772c26c3e1ac7090eaca19e
2019-03-19 20:40:17 -04:00
John Sully
893df9e69b Clang build with libc malloc
Former-commit-id: 0900edf776d5b6c7c28c7ed9462732178738862d
2019-03-19 20:34:09 -04:00
John Sully
f6805ac67d more clang travis fixes
Former-commit-id: ea520027b99582a78ee829fa6c0d470566a7425f
2019-03-19 20:26:35 -04:00
John Sully
487282d213 Fix race condition building dependencies with multithreaded builds
Former-commit-id: 04679b3b3b53c87c85c2d64c9f6d34a73969af2c
2019-03-19 20:25:30 -04:00
John Sully
538b0a53e9 Will clang build now with travis?
Former-commit-id: 2bf5c1324a9ff7739ee2eb90d7a722065d2d8a98
2019-03-19 20:00:52 -04:00
John Sully
cbfeae20b2 clang build failure
Former-commit-id: 3d93ca1bf699cbd399faf4a37e78d8d5d9f1b253
2019-03-19 19:55:03 -04:00
John Sully
74a8114681 Travis clang dependencies
Former-commit-id: c548431611bad9bcfdb3c348ab7bad61151a27a2
2019-03-19 19:50:28 -04:00
John Sully
3fa5c94210 Makefile ignores env CXXFLAGS
Former-commit-id: 0ab29f7394be270f958c01cc66d26da14eb32f2c
2019-03-19 19:29:14 -04:00
John Sully
c26ba66b0e No underscore
Former-commit-id: 30dab7ad14a473be3368b8dbc281bb4522d0a53b
2019-03-19 19:22:27 -04:00
John Sully
bfbf7b00f7 Maybe this will make travis-ci stop using GCC headers when compiling with clang
Former-commit-id: 0c5fa59221ada0639047dd16aed49cec3e467b26
2019-03-19 19:12:15 -04:00
John Sully
1b34e43109 Feature gate SO_INCOMING_CPU so we compile on older kernels
Former-commit-id: 267e84f97d61f8aa416f88870c21bdf2a0cc635a
2019-03-19 18:55:42 -04:00
John Sully
f480792f9c typo
Former-commit-id: 344cca75c6cf46fbf5fa82769ab6a0b74c0f1603
2019-03-19 18:40:50 -04:00
John Sully
dcb224f832 It would be nice if our CI actually called make...
Former-commit-id: 0dd8e682f40356f465565bc14405735b2073cdd4
2019-03-19 18:37:53 -04:00
John Sully
94619b95d9 Fix issues with travis config
Former-commit-id: da7e54819afd78ff58a1f03a7e4aee0a12b94bbb
2019-03-19 18:31:45 -04:00
John Sully
33a862d9e9 Let's try travis-ci
Former-commit-id: 4e70215307e0a898d03454687d4ca2534925aef3
2019-03-19 18:27:54 -04:00
John
0c629168fe Fix linker errors on some compilers due to sdslen()
Former-commit-id: 6aa162f6ff528951894b1af80f5f7b81562e1b37
2019-03-19 22:08:20 +00:00
Yossi Gottlieb
dd8b4be46b CommandFilter API: Extend documentation. 2019-03-19 19:48:47 +02:00
Dvir Volk
8620a434a0 Added keyspace miss notifications support 2019-03-19 13:11:37 +02:00
John Sully
92faf7e9bc KeyDB has different aims than the Redis project.
We believe software is for the user.  If a feature requires complicating the codebase
but simplifies our user's lives we will do it any time.  This should not be taken
as an outright rejection of the manifesto, as we agree on many points.


Former-commit-id: d3800745698dc61a3fb6e491dcdba26ab5655932
2019-03-19 01:36:03 -04:00
John Sully
41e9bf80f3 Merge branch 'unstable' of https://github.com/JohnSully/redis2 into unstable
Former-commit-id: c406e7ff51aa51f6e6d1ece9963fe2520a89fb6e
2019-03-19 01:26:22 -04:00
John Sully
8ee38fa773 Merge branch 'unstable' of https://github.com/antirez/redis into unstable
Former-commit-id: 31ff6cffee209ec03b8e7ed851145289c96de0f4
2019-03-19 01:26:10 -04:00
Yossi Gottlieb
a9a6a894e8 CommandFilter API: hellofilter and tests. 2019-03-18 23:07:28 +02:00
Yossi Gottlieb
325fc1cb2e CommandFilter API: Support Lua and RM_call() flows. 2019-03-18 23:06:38 +02:00
Yossi Gottlieb
2a5aeef79f CommandFilter API: More cleanup. 2019-03-18 23:05:52 +02:00
Yossi Gottlieb
9095e4dc9b Add command filter Module API tests. 2019-03-18 19:34:52 +02:00