Otmar Ertl
97bde9f623
use all 64 bits of the hash value instead of 63
2018-03-11 09:18:00 +01:00
Otmar Ertl
86ad4e06b8
use all 64 bits of the hash value instead of 63
2018-03-11 09:18:00 +01:00
Otmar Ertl
44698f45e7
made constant static
2018-03-10 20:44:20 +01:00
Otmar Ertl
09f818bc20
made constant static
2018-03-10 20:44:20 +01:00
Otmar Ertl
633983d479
improved definition of HLL_Q
2018-03-10 20:22:42 +01:00
Otmar Ertl
bacac52eec
improved definition of HLL_Q
2018-03-10 20:22:42 +01:00
Otmar Ertl
1e9a774871
improved HyperLogLog cardinality estimation
...
based on method described in https://arxiv.org/abs/1702.01284
that does not rely on any magic constants
2018-03-10 20:13:21 +01:00
Otmar Ertl
47b0cfcbd2
improved HyperLogLog cardinality estimation
...
based on method described in https://arxiv.org/abs/1702.01284
that does not rely on any magic constants
2018-03-10 20:13:21 +01:00
Otmar Ertl
6470b21f59
replaced tab by spaces
2018-03-10 20:09:41 +01:00
Otmar Ertl
3eaf0e07d2
replaced tab by spaces
2018-03-10 20:09:41 +01:00
Guy Benoish
b660fc2fbe
Fix zlexrangespec mem-leak in genericZrangebylexCommand
2018-03-07 10:40:37 +07:00
Guy Benoish
290a63dc54
Don't call sdscmp() with shared.maxstring or shared.minstring
2018-03-06 20:14:35 +07:00
Guy Benoish
0888eb4a00
Don't call sdscmp() with shared.maxstring or shared.minstring
2018-03-06 20:14:35 +07:00
artix
a4cfd503ea
clusterManagerAddSlots: changed the way ADDSLOTS command is built
2018-03-06 13:06:04 +02:00
artix
928640dee0
clusterManagerAddSlots: changed the way ADDSLOTS command is built
2018-03-06 13:06:04 +02:00
artix
d518733073
ClusterManager: fixed --cluster-from 'all' parsing
2018-03-02 17:06:50 +01:00
artix
422e41606b
ClusterManager: fixed --cluster-from 'all' parsing
2018-03-02 17:06:50 +01:00
pan.liangp
f4eb64cd35
move get clients max buffer calculate into info clients command
2018-03-02 17:16:00 +08:00
pan.liangp
fb23cd0627
move get clients max buffer calculate into info clients command
2018-03-02 17:16:00 +08:00
antirez
84b281209a
Stream: update the listpack pointer in streamTrimByLength().
2018-03-01 17:26:02 +01:00
antirez
c277aaf3b4
Stream: update the listpack pointer in streamTrimByLength().
2018-03-01 17:26:02 +01:00
antirez
efcbc01fbd
Remove warning from lpGet snprintf().
2018-03-01 15:26:27 +01:00
antirez
8e0fbea741
Remove warning from lpGet snprintf().
2018-03-01 15:26:27 +01:00
antirez
d63caaa820
redis-cli: fix missed unit in array. Change define name.
2018-03-01 15:06:41 +01:00
antirez
1db665cda9
redis-cli: fix missed unit in array. Change define name.
2018-03-01 15:06:41 +01:00
charsyam
da7f5700cf
refactoring-call-aeDeleteFileEvent-twice-in-freeClusterLink
2018-03-01 22:30:39 +09:00
charsyam
ef132d1337
refactoring-call-aeDeleteFileEvent-twice-in-freeClusterLink
2018-03-01 22:30:39 +09:00
charsyam
51a03f6356
fix dlopen leak
2018-03-01 21:22:42 +09:00
charsyam
063e4b44c0
fix dlopen leak
2018-03-01 21:22:42 +09:00
Salvatore Sanfilippo
83b5b5a476
Merge pull request #4714 from charsyam/feature/fix-out-of-index-range
...
[BugFix] Fix out of array index range for findBigKeys in redis-cli
2018-03-01 03:39:15 -08:00
Salvatore Sanfilippo
38ecac9dd0
Merge pull request #4714 from charsyam/feature/fix-out-of-index-range
...
[BugFix] Fix out of array index range for findBigKeys in redis-cli
2018-03-01 03:39:15 -08:00
伯成
dfb12f0628
Boost up performance for redis PUB-SUB patterns matching
...
If lots of clients PSUBSCRIBE to same patterns, multiple pattens matching will take place. This commit change it into just one single pattern matching by using a `dict *` to store the unique pattern and which clients subscribe to it.
2018-03-01 11:46:56 +08:00
antirez
3a5bf75ede
Actually use ae_flags to add AE_BARRIER if needed.
...
Many thanks to @Plasma that spotted this problem reviewing the code.
2018-02-28 18:03:51 +01:00
antirez
99f94354a6
Actually use ae_flags to add AE_BARRIER if needed.
...
Many thanks to @Plasma that spotted this problem reviewing the code.
2018-02-28 18:03:51 +01:00
Artix
ce14d23740
Cluster Manager: fixed some memory error
2018-02-28 15:21:08 +01:00
Artix
a00157c44f
Cluster Manager: fixed some memory error
2018-02-28 15:21:08 +01:00
artix
fb41b8bb9c
Fixed memory write error in clusterManagerGetConfigSignature
2018-02-28 11:49:10 +01:00
artix
b15f3515f3
Fixed memory write error in clusterManagerGetConfigSignature
2018-02-28 11:49:10 +01:00
artix
2f056b8331
Cluster Manager: reshard command, fixed slots
...
parsing bug and other minor bugs.
2018-02-28 10:44:14 +01:00
artix
66548863a4
Cluster Manager: reshard command, fixed slots
...
parsing bug and other minor bugs.
2018-02-28 10:44:14 +01:00
Salvatore Sanfilippo
7a73db7512
Merge pull request #4715 from charsyam/feature/refactoring-make-condition-clear-for-rdb
...
[BugFix] fix calculation length in rdbSaveAuxField
2018-02-27 10:15:27 -08:00
Salvatore Sanfilippo
c3934db151
Merge pull request #4715 from charsyam/feature/refactoring-make-condition-clear-for-rdb
...
[BugFix] fix calculation length in rdbSaveAuxField
2018-02-27 10:15:27 -08:00
antirez
92696e49d2
expireIfNeeded() needed a top comment documenting the behavior.
2018-02-27 16:44:43 +01:00
antirez
550181a96b
expireIfNeeded() needed a top comment documenting the behavior.
2018-02-27 16:44:43 +01:00
antirez
b00c4ffab5
expireIfNeeded() comment: claim -> pretend.
2018-02-27 16:37:37 +01:00
antirez
4db08588cc
expireIfNeeded() comment: claim -> pretend.
2018-02-27 16:37:37 +01:00
charsyam
76386c48b8
refactoring-make-condition-clear-for-rdb
2018-02-27 21:55:20 +09:00
charsyam
7bf2ef9dba
refactoring-make-condition-clear-for-rdb
2018-02-27 21:55:20 +09:00
charsyam
6168d5a1a6
fix-out-of-index-range-for-redis-cli-findbigkey
2018-02-27 21:46:19 +09:00
charsyam
aecbdde3c0
fix-out-of-index-range-for-redis-cli-findbigkey
2018-02-27 21:46:19 +09:00