John Sully
44c1e6d5e7
Merge branch 'unstable' into keydbpro
...
Former-commit-id: 08a36155e3db9918048e87c3d691b7317787c9ab
2020-06-01 17:41:37 -04:00
John Sully
fd3a06da47
Only CI ARM daily
...
Former-commit-id: a5325061f21b3d93e151fa86dce7447a6f5e03cb
2020-05-30 02:34:37 -04:00
John Sully
cfe9f8f3bc
Merge tag '6.0.4' into unstable
...
Redis 6.0.4.
Former-commit-id: 9c31ac7925edba187e527f506e5e992946bd38a6
2020-05-29 00:57:07 -04:00
Oran Agra
436be34986
fix a rare active defrag edge case bug leading to stagnation
...
There's a rare case which leads to stagnation in the defragger, causing
it to keep scanning the keyspace and do nothing (not moving any
allocation), this happens when all the allocator slabs of a certain bin
have the same % utilization, but the slab from which new allocations are
made have a lower utilization.
this commit fixes it by removing the current slab from the overall
average utilization of the bin, and also eliminate any precision loss in
the utilization calculation and move the decision about the defrag to
reside inside jemalloc.
and also add a test that consistently reproduce this issue.
2020-05-22 12:37:49 +02:00
John Sully
d1948ab944
Merge branch 'unstable' into keydbpro
...
Former-commit-id: d89c15518f984c1d4d4e7638a4e8ac5aa499632a
2020-05-11 00:53:38 -04:00
John Sully
3c43d81098
Fix crash in module tests
...
Former-commit-id: 37423757b54b2052512dcfeaba72ccbd360d3c1e
2020-05-10 21:06:38 -04:00
John Sully
05cc1fd3de
Initial merge of unstable 6
...
Former-commit-id: aac140de199646914cc02997a45111c9c695e55d
2020-04-16 16:36:16 -04:00
John Sully
aa48225a76
Merge commit '76d57161d960f27ac92765118e3b80fef8847b8f' into redis_6_merge
...
Former-commit-id: 320bc3c0329ff9e5a980b79426b719addae381cf
2020-04-14 21:04:42 -04:00
John Sully
12999c17dd
Merge commit 'df83892760d19b1b7e92d76e72daf4834ad2df6c' into redis_6_merge
...
Former-commit-id: cde199a7973ad63317b68f581df607321e12bf46
2020-04-14 19:43:04 -04:00
antirez
916dd79f19
Update linenoise.
2020-03-12 15:53:47 +01:00
lifubang
e1c29434b2
update linenoise to fc9667a81d
...
Signed-off-by: lifubang <lifubang@acmcoder.com>
2020-03-12 15:53:47 +01:00
Seunghoon Woo
0c952b13d0
[FIX] revisit CVE-2015-8080 vulnerability
2020-02-12 14:17:54 +01:00
John Sully
0a07ce9d6d
rename to pro binary
...
Former-commit-id: a8854bfd83de72d6aa418ee6d9b44fae1f622787
2020-02-04 00:30:13 -05:00
John Sully
0dfa45b2af
Build portable rocksdb binaries
...
Former-commit-id: e94db969f8ac584b75b2ad015b65c1d0d73d0776
2020-02-03 17:33:15 -05:00
John Sully
14cf73deaa
Merge KeyDB 6
...
Former-commit-id: 9129b98c12b0da856bbda3eb68b4ddc7530693c9
2020-01-29 12:55:23 -05:00
John Sully
8e5fe97525
Merge remote-tracking branch 'redis/6.0' into redis_merge
...
Former-commit-id: ef9a3cadcf94326bf2f163db7698aad9a3c01690
2020-01-27 02:55:48 -05:00
John Sully
f5c743cc7a
Add license key lib for aarch64
...
Former-commit-id: 8b804d91e3dc810b6d8cc585dd3747ba962ead18
2020-01-06 19:16:48 +00:00
John Sully
21a9a19f9d
Implement license key checks
...
Former-commit-id: 62ed5b2956aebe70ef8cf758888098e1f4bb530b
2019-12-17 23:35:14 -05:00
John Sully
5f481a206d
Initial RocksDB integration
...
Former-commit-id: 0de9e5b692c02e779e538ddd0a56d10215e501bb
2019-12-06 20:39:32 -05:00
John Sully
0f5d2ccfe5
Initial standup of RocksDB dependency
...
Former-commit-id: 19bb40ffdc794cf9cafa9f4132a0facf1e074101
2019-12-06 17:33:18 -05:00
Yossi Gottlieb
0db3b0a0ff
Merge remote-tracking branch 'upstream/unstable' into tls
2019-10-16 17:08:07 +03:00
Yossi Gottlieb
b087dd1db6
TLS: Connections refactoring and TLS support.
...
* Introduce a connection abstraction layer for all socket operations and
integrate it across the code base.
* Provide an optional TLS connections implementation based on OpenSSL.
* Pull a newer version of hiredis with TLS support.
* Tests, redis-cli updates for TLS support.
2019-10-07 21:06:13 +03:00
Oran Agra
bf759cc9c3
Merge remote-tracking branch 'antirez/unstable' into jemalloc_purge_bg
2019-10-04 13:53:40 +03:00
antirez
5e399d5d33
hiredis udpated (RESP3 WIP).
2019-09-23 17:41:04 +02:00
antirez
c3899720f6
hiredis updated to master version.
2019-09-20 20:08:38 +02:00
Oran Agra
2fec7d9c6c
Jemalloc: Avoid blocking on background thread lock for stats.
...
Background threads may run for a long time, especially when the # of dirty pages
is high. Avoid blocking stats calls because of this (which may cause latency
spikes).
see https://github.com/jemalloc/jemalloc/issues/1502
cherry picked from commit 1a71533511027dbe3f9d989659efeec446915d6b
2019-06-02 15:27:38 +03:00
John Sully
e48c132d35
Merge branch 'unstable' of https://github.com/antirez/redis into MergeRedis
...
Note: some tests failing
Former-commit-id: 86d7276f24f0cf1a0eceb6cd00a6a0ae2a0fa520
2019-05-11 02:20:34 -04:00
Angus Pearson
bea09a7fa6
Add <strings.h> include to deps/hiredis/read.c to fix Implicit Declaration of strcasecmp warning
2019-05-08 11:36:31 +01:00
John Sully
7859e0562f
Move remaning files dependent on server.h over to C++
...
Former-commit-id: 8c133b605c65212b023d35b3cb71e63b6a4c443a
2019-04-08 01:00:48 -04:00
John Sully
fd46d44fef
Compile issues at O0 optimization
...
Former-commit-id: 27a420fbc2ada275376982b880dc8f6da935d53e
2019-03-21 21:57:18 +00:00
John Sully
99553d7a77
Prevent so many copies of sdslen getting added
...
Former-commit-id: 327bbec981feb0d90df416281575953cd71ef6c2
2019-02-10 19:31:46 -05:00
John Sully
cbdae2a62d
Performance enhancements!
...
Former-commit-id: 7175a8e4ebee74233702b8e308c0d57661b54bac
2019-02-09 13:05:06 -05:00
John Sully
c2821078b1
complete rebranding with tests passing
...
Former-commit-id: 3e9b8677098059964f3f7a492394da4ede9bd37d
2019-02-09 10:11:46 -05:00
John Sully
2c3777f1ee
complete malloc memory class work, and pass tests
...
Former-commit-id: 42d28c9ff6bd0b31ada42bdcbfde3e9fce42fff7
2019-02-04 16:56:13 -05:00
John Sully
7b05d6a7e1
Properly integrate memkind
...
Former-commit-id: 82372cbce84a009ef162a611bb91c7ed67acc9e9
2019-02-01 15:21:00 -05:00
John Sully
fe7a7774f0
Merge commit '09a263e6076b3fd0fe3b094a2bfad7f93fc997d6' as 'deps/memkind/src'
...
Former-commit-id: 69b07c5cc2a8f585a8b34bba0b5f7db51be51848
2019-02-01 14:45:39 -05:00
antirez
dfa9d2c74c
RESP3: hiredis: implement bool type.
2019-01-09 17:00:30 +01:00
antirez
045b1f6339
RESP3: hiredis: save the original double string.
2019-01-09 17:00:30 +01:00
antirez
ee4c355a3e
RESP3: hiredis: implement null type.
2019-01-09 17:00:30 +01:00
antirez
b8134dbfa7
RESP3: hiredis: fix double implementation.
2019-01-09 17:00:30 +01:00
antirez
a2b2d88f38
RESP3: hiredis: initial double implementation.
2019-01-09 17:00:30 +01:00
antirez
24a05e39f0
RESP3: hiredis: fix hiredis.c assert for new types.
2019-01-09 17:00:29 +01:00
antirez
d4a4375d05
RESP3: hiredis: free map and set replies.
2019-01-09 17:00:29 +01:00
antirez
eb3c5a70d4
RESP3: hiredis: fix read.c assert for new types.
2019-01-09 17:00:29 +01:00
antirez
d5c54f0b3a
RESP3: hiredis updated with recent version + some RESP3 support.
2019-01-09 17:00:29 +01:00
Uman Shahzad
cc47dacd18
Remove documentation about geohash-int in deps repo.
2019-01-03 19:12:45 +05:00
Oran Agra
920158ec81
Active defrag fixes for 32bit builds (again)
...
* overflow in jemalloc fragmentation hint to the defragger
2018-07-11 16:09:00 +03:00
Jack Drogon
93238575f7
Fix typo
2018-07-03 18:19:46 +02:00
Oran Agra
e8099cabd1
add defrag hint support into jemalloc 5
2018-06-27 10:52:39 +03:00
antirez
e89086e09a
Security: fix Lua struct package offset handling.
...
After the first fix to the struct package I found another similar
problem, which is fixed by this patch. It could be reproduced easily by
running the following script:
return struct.unpack('f', "xxxxxxxxxxxxx",-3)
The above will access bytes before the 'data' pointer.
2018-06-13 12:40:33 +02:00