Commit Graph
1060 Commits
Author SHA1 Message Date
John Sully 2fef83aa60 Fix some more failing tests
Former-commit-id: cd836a37e7
2019-04-04 00:25:30 -04:00
John Sully a7ed7e06a8 Merge branch 'unstable' into wip-multimaster
Former-commit-id: 4326d22380
2019-04-03 00:12:13 -04:00
John Sully c40779752e Merge branch 'unstable' of https://github.com/antirez/redis into unstable
Former-commit-id: 3745bbd95b
2019-04-03 00:00:38 -04:00
John Sully 55696f4436 Tests are passing! YAY!
Former-commit-id: e300f753c5
2019-04-02 21:36:04 -04:00
John Sully 422ac66531 Make PSYNC2 tests more reliable on slower hardware
Former-commit-id: 7b1dd0b60d
2019-03-26 18:59:31 -04: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 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
John Sully 8ee38fa773 Merge branch 'unstable' of https://github.com/antirez/redis into unstable
Former-commit-id: 31ff6cffee
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 9095e4dc9b Add command filter Module API tests. 2019-03-18 19:34:52 +02:00
antirez dca7358279 HyperLogLog: speedup fuzz test. 2019-03-15 17:13:19 +01:00
antirez 4208666797 HyperLogLog: dense/sparse repr parsing fuzz test. 2019-03-15 13:52:29 +01:00
John Sully 46853f1357 Merge branch 'unstable' of https://github.com/antirez/redis into unstable
Lots of fixes and improvements from upstream.


Former-commit-id: 261cf24efc
2019-03-13 18:08:22 -04:00
Salvatore Sanfilippo 3e648907ee Merge pull request #5907 from spjwebster/xclaim-increment-delivery-count
Increment delivery counter on XCLAIM unless RETRYCOUNT specified
2019-03-13 11:55:46 +01:00
Steve Webster dfcb227b50 Only increment delivery count if JUSTID option is omitted 2019-03-12 20:27:53 +00:00
Salvatore Sanfilippo e5acc5ef4f Merge pull request #2774 from rouzier/blocking-list-commands-support-milliseconds-floating
Added millisecond resolution for blpop command && friends
2019-03-12 18:10:28 +01:00
Steve Webster f1e7df4b7c Increment delivery counter on XCLAIM unless RETRYCOUNT specified
The XCLAIM docs state the XCLAIM increments the delivery counter for
messages. This PR makes the code match the documentation - which seems
like the desired behaviour - whilst still allowing RETRYCOUNT to be
specified manually.

My understanding of the way streamPropagateXCLAIM() works is that this
change will safely propagate to replicas since retry count is pulled
directly from the streamNACK struct.

Fixes #5194
2019-03-08 17:09:11 +00:00
John Sully 3871725979 All tests pass single thread 2019-02-23 00:09:34 -05:00
John Sully ebf0ae3e97 Merge branch 'unstable' of https://github.com/antirez/redis into Multithread 2019-02-21 18:17:12 -05:00
John Sully 6d8530d493 mitigate race condition in test 2019-02-15 16:55:19 -05:00
John Sully d3fc46b3a8 complete rebranding with tests passing 2019-02-09 10:11:46 -05:00
antirez f021da5e30 Acl: Test: check command rules synthesis. 2019-01-30 12:01:37 +01:00
antirez 7deb1e90d9 Acl: Test: check command rules synthesis. 2019-01-30 12:01:37 +01:00
antirez e103fd4208 ACL: Test: check subcommands (test fails). 2019-01-28 18:29:22 +01:00
antirez 95fe993018 ACL: Test: check subcommands (test fails). 2019-01-28 18:29:22 +01:00
antirez f4c39db450 ACL: Test: nopass user flag, commands/groups +/- rules. 2019-01-28 12:40:07 +01:00
antirez 7b1493a249 ACL: Test: nopass user flag, commands/groups +/- rules. 2019-01-28 12:40:07 +01:00
antirez 26f98bca97 ACL: Test: check default behavior and keys ACLs. 2019-01-28 12:33:18 +01:00
antirez b03f0c0403 ACL: Test: check default behavior and keys ACLs. 2019-01-28 12:33:18 +01:00
antirez 621547b4a2 ACL: Test: add the acl tests as default unit. 2019-01-28 12:12:04 +01:00
antirez b87b3bb812 ACL: Test: add the acl tests as default unit. 2019-01-28 12:12:04 +01:00
antirez 6cec82b943 ACL: Test: check passwords validity and removal. 2019-01-28 12:06:25 +01:00
antirez c2865f4810 ACL: Test: check passwords validity and removal. 2019-01-28 12:06:25 +01:00
antirez 3c67c1c394 ACL: Test: enabled/disabled user. 2019-01-28 11:44:10 +01:00
antirez 619017f9c2 ACL: Test: enabled/disabled user. 2019-01-28 11:44:10 +01:00
antirez 9fc1ce2f05 ACL: create unit test. 2019-01-28 11:39:58 +01:00
antirez 296f43b2dd ACL: create unit test. 2019-01-28 11:39:58 +01:00
antirez ac6e49de48 ACL: implement resetpass directive and adjust test. 2019-01-18 11:26:32 +01:00
antirez f1e57a86f9 ACL: implement resetpass directive and adjust test. 2019-01-18 11:26:32 +01:00
antirez b87815c1f8 ACL: AUTH + no default user password raises an error.
This way the behavior is very similar to the past one.
This is useful in order to remember the user she probably failed to
configure a password correctly.
2019-01-17 18:30:23 +01:00
antirez 7e73a1fbf3 ACL: AUTH + no default user password raises an error.
This way the behavior is very similar to the past one.
This is useful in order to remember the user she probably failed to
configure a password correctly.
2019-01-17 18:30:23 +01:00
antirez 009a929269 Remove debugging printf from replication.tcl test. 2018-12-12 11:55:30 +01:00
antirez 0ba9e0f8dd Remove debugging printf from replication.tcl test. 2018-12-12 11:55:30 +01:00
Salvatore Sanfilippo 46a51cdcdc Merge pull request #5549 from oranagra/fix_test_races
fix small test suite race conditions
2018-11-28 18:17:05 +01:00
Salvatore Sanfilippo 4808a09a4f Merge pull request #5549 from oranagra/fix_test_races
fix small test suite race conditions
2018-11-28 18:17:05 +01:00
antirez fc022031d3 Merge branch 'unstable' of github.com:/antirez/redis into unstable 2018-11-28 17:12:32 +01:00
antirez 2d5544de8b Merge branch 'unstable' of github.com:/antirez/redis into unstable 2018-11-28 17:12:32 +01:00
Qu Chen c99f1206b7 Add unit test for stream XCLAIM command. 2018-11-28 17:12:03 +01:00
Qu Chen eb1c67673d Add unit test for stream XCLAIM command. 2018-11-28 17:12:03 +01:00
Salvatore Sanfilippo 6a6471aad5 Merge pull request #4737 from guybe7/zlexcount_fix
Don't call sdscmp() with shared.maxstring or shared.minstring
2018-11-28 16:53:32 +01:00