WuYunlong
89e8472e0f
Add test in slowlog.tcl
2018-07-13 17:51:06 +08:00
antirez
8d6b7861a7
Add regression test for #5111 .
2018-07-12 13:35:17 +02:00
antirez
fe41bc4ab1
Add regression test for #5111 .
2018-07-12 13:35:17 +02:00
Jack Drogon
93238575f7
Fix typo
2018-07-03 18:19:46 +02:00
Jack Drogon
df7bafeb44
Fix typo
2018-07-03 18:19:46 +02:00
chendianqiang
cbb2ac0799
Merge branch 'unstable' into pending-querybuf
2018-07-03 10:07:26 +08:00
chendianqiang
0a32c93dd5
Merge branch 'unstable' into pending-querybuf
2018-07-03 10:07:26 +08:00
chendianqiang
7de1ada070
limit the size of pending-querybuf in masterclient
2018-07-01 14:43:53 +08:00
chendianqiang
2dc66b6bcc
limit the size of pending-querybuf in masterclient
2018-07-01 14:43:53 +08:00
Oran Agra
de495ee7ab
minor fix in creating a stream NACK for rdb and defrag tests
2018-06-27 15:34:17 +03:00
Oran Agra
9df4b2b9b4
minor fix in creating a stream NACK for rdb and defrag tests
2018-06-27 15:34:17 +03:00
Oran Agra
5616d4c603
add active defrag support for streams
2018-06-27 15:00:41 +03:00
Oran Agra
cfa076f2ee
add active defrag support for streams
2018-06-27 15:00:41 +03:00
shenlongxing
ec55df117f
fix typo
2018-06-21 22:08:09 +08:00
shenlongxing
bdb2664a81
fix typo
2018-06-21 22:08:09 +08:00
Guy Benoish
b5197f1fc9
Enhance RESTORE with RDBv9 new features
...
RESTORE now supports:
1. Setting LRU/LFU
2. Absolute-time TTL
Other related changes:
1. RDB loading will not override LRU bits when RDB file
does not contain the LRU opcode.
2. RDB loading will not set LRU/LFU bits if the server's
maxmemory-policy does not match.
2018-06-20 15:11:08 +07:00
Guy Benoish
56163a78a4
Enhance RESTORE with RDBv9 new features
...
RESTORE now supports:
1. Setting LRU/LFU
2. Absolute-time TTL
Other related changes:
1. RDB loading will not override LRU bits when RDB file
does not contain the LRU opcode.
2. RDB loading will not set LRU/LFU bits if the server's
maxmemory-policy does not match.
2018-06-20 15:11:08 +07:00
antirez
1e92fde3d3
Fix SCAN bug regression test, avoiding empty SREM call.
2018-06-14 12:21:58 +02:00
antirez
5bcfe3dc38
Fix SCAN bug regression test, avoiding empty SREM call.
2018-06-14 12:21:58 +02:00
antirez
6bf65138de
Regression test for issue #5006 .
2018-06-12 13:13:35 +02:00
antirez
ec4093dc4d
Regression test for issue #5006 .
2018-06-12 13:13:35 +02:00
antirez
00613bed06
Improved regression test for #4906 .
...
Removing the fix about 50% of the times the test will not be able to
pass cleanly. It's very hard to write a test that will always fail, or
actually, it is possible but then it's likely that it will consistently
pass if we change some random bit, so better to use randomization here.
2018-06-11 13:10:06 +02:00
antirez
a78b99890e
Improved regression test for #4906 .
...
Removing the fix about 50% of the times the test will not be able to
pass cleanly. It's very hard to write a test that will always fail, or
actually, it is possible but then it's likely that it will consistently
pass if we change some random bit, so better to use randomization here.
2018-06-11 13:10:06 +02:00
antirez
27beaf2f22
Regression test for the dictScan() issue #4906 .
2018-06-11 12:51:26 +02:00
antirez
3161c7248d
Regression test for the dictScan() issue #4906 .
2018-06-11 12:51:26 +02:00
antirez
0a698e499a
ZPOP: invert score-ele to match ZRANGE WITHSCORES order.
2018-06-05 17:06:25 +02:00
antirez
c8d43b84d8
ZPOP: invert score-ele to match ZRANGE WITHSCORES order.
2018-06-05 17:06:25 +02:00
antirez
2bd36616ba
Streams: fix test ID format.
2018-05-25 16:57:08 +02:00
antirez
dd4ac1654b
Streams: fix test ID format.
2018-05-25 16:57:08 +02:00
antirez
98d5d3f118
Make active defragmentation tests optional.
...
They failed when active defrag could not be activated because the
Jemalloc version does not include the additional APIs.
2018-05-24 18:04:21 +02:00
antirez
f3db15d2c9
Make active defragmentation tests optional.
...
They failed when active defrag could not be activated because the
Jemalloc version does not include the additional APIs.
2018-05-24 18:04:21 +02:00
Oran Agra
ad133e1023
Active defrag fixes for 32bit builds
...
problems fixed:
* failing to read fragmentation information from jemalloc
* overflow in jemalloc fragmentation hint to the defragger
* test suite not triggering eviction after population
2018-05-17 09:52:00 +03:00
Oran Agra
6ff807bd47
Active defrag fixes for 32bit builds
...
problems fixed:
* failing to read fragmentation information from jemalloc
* overflow in jemalloc fragmentation hint to the defragger
* test suite not triggering eviction after population
2018-05-17 09:52:00 +03:00
antirez
e87c1f1e6c
ZPOP: fix the tests according to new non-blocking "count" argument.
2018-05-11 18:07:10 +02:00
antirez
44aa7f9257
ZPOP: fix the tests according to new non-blocking "count" argument.
2018-05-11 18:07:10 +02:00
antirez
6efb6c1e06
ZPOP: renaming to have explicit MIN/MAX score idea.
...
This commit also adds a top comment about a subtle behavior of mixing
blocking operations of different types in the same key.
2018-05-11 17:31:53 +02:00
antirez
a6f9c30ac4
ZPOP: renaming to have explicit MIN/MAX score idea.
...
This commit also adds a top comment about a subtle behavior of mixing
blocking operations of different types in the same key.
2018-05-11 17:31:53 +02:00
Itamar Haber
438125b47c
Implements [B]Z[REV]POP and the respective unit tests
...
An implementation of the
[Ze POP Redis Module](https://github.com/itamarhaber/zpop ) as core
Redis commands.
Fixes #1861 .
2018-04-30 02:10:42 +03:00
Itamar Haber
e3e0a66adf
Implements [B]Z[REV]POP and the respective unit tests
...
An implementation of the
[Ze POP Redis Module](https://github.com/itamarhaber/zpop ) as core
Redis commands.
Fixes #1861 .
2018-04-30 02:10:42 +03:00
antirez
2b2652d7c4
AOF: run tests with preamble off when it makes sense.
2018-03-25 13:03:38 +02:00
antirez
5e831e92dd
AOF: run tests with preamble off when it makes sense.
2018-03-25 13:03:38 +02:00
Salvatore Sanfilippo
da621783f0
Merge pull request #4691 from oranagra/active_defrag_v2
...
Active defrag v2
2018-03-22 09:16:32 +01:00
Salvatore Sanfilippo
6e09787828
Merge pull request #4691 from oranagra/active_defrag_v2
...
Active defrag v2
2018-03-22 09:16:32 +01:00
antirez
54b9a0e612
CG: test XACK remaining features.
2018-03-15 12:54:10 +01:00
antirez
75ad54c9a2
CG: test XACK remaining features.
2018-03-15 12:54:10 +01:00
antirez
5f8c57f28a
CG: test XACK ability to remove items from the PELs.
2018-03-15 12:54:10 +01:00
antirez
c3396a6c8d
CG: test XACK ability to remove items from the PELs.
2018-03-15 12:54:10 +01:00
antirez
f5799e728a
CG: test XPENDING ability to return pending items.
2018-03-15 12:54:10 +01:00
antirez
08ea1440cf
CG: test XPENDING ability to return pending items.
2018-03-15 12:54:10 +01:00
antirez
c2ecac4746
CG: test XGROUPREAD abilities.
2018-03-15 12:54:10 +01:00