88142c9c80
getting rid of excess imports
...
since https://github.com/rust-lang/rust/issues/63562 fixed
2020-06-29 11:39:14 +03:00
dde3fcec49
disable logs
0.8.0_w
2020-04-28 22:51:04 +03:00
654e398f76
update sdk and wasi
0.7.0_w
2020-04-18 00:36:52 +03:00
ec58d4c34a
update Readme
2019-08-14 18:14:38 +03:00
04ca05d719
better multimodules support for Rust backend
2019-08-14 18:10:37 +03:00
dd26c69a7e
fix a typo
2019-08-14 00:25:36 +03:00
2cc0aabcf9
update readme
v0.6.0_w
2019-08-14 00:20:06 +03:00
85011456ae
add multimodules support and beter docker building
2019-08-14 00:08:49 +03:00
016c4dc113
fix issue with using long double in snprintf
2019-06-30 21:27:36 +03:00
4fd252b07c
initial commit
2019-06-28 14:12:45 +03:00
ba5145b8e9
Fix objectSetLRUOrLFU() when LFU underflows.
2019-03-14 18:00:56 +01:00
76c59f0e44
Fix ZPOP return type when COUNT=0. Related to #5799 .
2019-03-14 17:52:02 +01:00
1c6367144b
Improve comments after merging #5834 .
2019-03-14 13:26:15 +01:00
6a3fca4c67
Trim SDS free space of retained module strings
...
In some cases processMultibulkBuffer uses sdsMakeRoomFor to
expand the querybuf, but later in some cases it uses that query
buffer as is for an argv element (see "Optimization"), which means
that the sds in argv may have a lot of wasted space, and then in case
modules keep that argv RedisString inside their data structure, this
space waste will remain for long (until restarted from rdb).
2019-03-14 13:26:09 +01:00
9ec144ea30
Fix mismatching keyspace notification classes
2019-03-14 12:30:38 +01:00
d04b521150
Fix zlexrangespec mem-leak in genericZrangebylexCommand
2019-03-14 11:45:25 +01:00
516f1c7722
Use memtoll() in 'CONFIG SET client-output-buffer-limit'
2019-03-14 11:44:14 +01:00
8db67a556b
Increase string2ld's buffer size (and fix HINCRBYFLOAT)
...
The string representation of `long double` may take
up to ~5000 chars (see PR #3745 ).
Before this fix HINCRBYFLOAT would never overflow (since
the string could not exceed 256 chars). Now it can.
2019-03-14 11:35:13 +01:00
db3d626bac
Check server.verbosity in RM_LogRaw
2019-03-14 11:32:31 +01:00
71439a07fd
ZPOP should return an empty array if COUNT=0
2019-03-14 11:29:37 +01:00
c8a26834fc
Modules shared API: export new core APIs.
2019-03-14 11:25:35 +01:00
a13ba75091
Modules shared API: also unregister the module as user.
2019-03-14 11:25:35 +01:00
500e51171d
Modules shared API: prevent unloading of used modules.
2019-03-14 11:25:35 +01:00
7854daa140
Modules shared API: unregister APIs function.
2019-03-14 11:25:35 +01:00
d38d82af05
Modules shared API: initial core functions.
...
Based on ideas and code in PR #5560 by @MeirShpilraien.
2019-03-14 11:25:35 +01:00
4d747bb850
Revert shared APIs to modify the design.
2019-03-14 11:25:16 +01:00
8824b509b7
added module ability to register api to be used by other modules
2019-03-14 11:25:12 +01:00
000b055b76
Streams: checkType before XGROUP CREATE
...
Fix issue #5785 , in case create group on a key is not stream.
2019-03-13 12:35:10 +01:00
9b2a0d5497
Fix BZPOP arity, backport from fix in cd2743c
.
2019-03-13 12:28:36 +01:00
134b258252
optimize cluster failover
2019-03-13 12:23:27 +01:00
1293e2a565
Only increment delivery count if JUSTID option is omitted
2019-03-13 11:57:20 +01:00
3cc4f469bc
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-13 11:57:15 +01:00
f4edd2b924
Merge branch '5.0' of github.com:/antirez/redis into 5.0
2019-03-13 11:56:42 +01:00
cedcc54e4a
document additional flag of RM_GetContextFlags
2019-03-13 11:53:39 +01:00
26e98da20b
Extend REDISMODULE_CTX_FLAGS to indicate if command was sent by master
2019-03-13 11:53:31 +01:00
0e91093902
Merge pull request #5879 from meierfra-ergon/redis-cli-assume-yes
...
added 'assume-yes' option to redis-cli
2019-03-12 17:25:57 +01:00
67452e9136
Make comment in #5911 stay inside 80 cols.
2019-03-10 09:52:13 +01:00
30f666ef4a
Replicas aren't allowed to run the replicaof command
2019-03-10 09:52:13 +01:00
bc6c1c40db
extend use of cluster-yes option to other confimation questions
2019-03-04 09:22:53 +01:00
76419d8d5b
Merge branch '5.0' of github.com:/antirez/redis into 5.0
2019-03-01 17:46:21 +01:00
72ba60699d
redis-cli add support for --memkeys, fix --bigkeys for module types
...
* bigkeys used to fail on databases with module type keys
* new code adds more types when it discovers them, but has no way to know element count in modules types yet
* bigkeys was missing XLEN command for streams
* adding --memkeys and --memkeys-samples to make use of the MEMORY USAGE command
see #5167 , #5175
2019-03-01 17:31:08 +01:00
2ca2175362
fix replicationid will not change for server.masterhost==NULL in cluster mode when restart slave
2019-03-01 17:30:32 +01:00
bd7ddd79dd
Merge pull request #5870 from fengweiyuan/5.0
...
fix corrupt_rdb.c bug.Let the name of input rdb file name be valid.
2019-03-01 16:57:13 +01:00
d13bc1433e
fix corrupt_rdb.c bug.Let the name of input rdb file name be valid.
2019-02-26 10:33:53 +08:00
44c5bce0f4
Cluster Manager: fix replica assigment anti-affinity (create)
...
Fix issue #5849
2019-02-22 11:18:13 +01:00
f066e52659
Cluster Manager: remove unused code elements
2019-01-25 11:47:59 +01:00
232149662c
fix clusterManagerGetAntiAffinityScore double free otypes
2019-01-25 11:47:01 +01:00
80bccd7195
Remove debugging printf from replication.tcl test.
2018-12-21 11:42:00 +01:00
b4867130f4
Redis 5.0.3
5.0.3
2018-12-12 13:25:58 +01:00
2c6ee0f9b3
freeMemoryIfNeeded() small refactoring.
...
Related to issue #5686 and PR #5689 .
2018-12-12 11:53:15 +01:00