Commit Graph
12002 Commits
Author SHA1 Message Date
John Sully ff1a43ea18 Reduce test noise
Former-commit-id: 13c9a094d1
2020-09-19 22:00:17 +00:00
John Sully ccf70c72e2 Fix CI failure due to apt host changes
Former-commit-id: 0f8b7a19ef
2020-09-19 21:49:59 +00:00
John Sully d89fbd4175 Avoid memory overhead in situations it won't be used (active rep only)
Former-commit-id: 8f7d977f90
2020-09-19 21:44:59 +00:00
John Sully 1cc2c9fac3 Update endurance test for ubuntu 20
Former-commit-id: 064440ee84
2020-09-17 02:10:18 +00:00
John Sully 3f294b6930 Fix build break
Former-commit-id: 50641d0569
2020-09-17 00:53:56 +00:00
John Sully 693b360676 master_global_link_status should respect the quorum
Former-commit-id: f5ecc77e29
2020-09-17 00:31:10 +00:00
John Sully 2c6fbac6ea Allow reads during an active replica load, optionally allow writes as an experimental feature
Former-commit-id: 655bb6e21c
2020-09-17 00:13:03 +00:00
John Sully 4eecb1825f Implement replica-quorum config
Former-commit-id: ab4cdd2ed4
2020-09-16 03:26:31 +00:00
Yossi Gottlieb bf6c002005 TLS: Session caching configuration support. (#7420)
* TLS: Session caching configuration support.
* TLS: Remove redundant config initialization.


Former-commit-id: d3834c5069
2020-09-16 02:10:29 +00:00
John Sully fc7b9399f9 Protocol error in client command
Former-commit-id: 7a1b2c58c3
2020-09-11 20:48:18 +00:00
John Sully ea9cd04c75 Fix more protocol errors
Former-commit-id: 7fc6d6c6b1
2020-09-11 20:47:27 +00:00
John Sully 54de1d579d Fix protocol difference with Redis
Former-commit-id: dec5db4e71
2020-09-11 20:08:26 +00:00
John Sully 855753ebb3 Fix whitespace
Former-commit-id: d47aeb1fc8
2020-09-07 03:35:46 +00:00
John Sully b6d8a5938d Dramatically improve perf by blocking commands
Former-commit-id: e47584b286
2020-09-07 00:49:53 +00:00
John Sully e87dee8dc7 Add build flag to disable MVCC tstamps
Former-commit-id: f17d178d03
2020-08-10 06:10:24 +00:00
John Sully e06152eb13 Fix lock after free in module API
Former-commit-id: d88fd1588d
2020-08-10 06:10:24 +00:00
John Sully 1653e5d990 Remove gitter, we don't check it often enough
Former-commit-id: 119797014c
2020-07-13 21:14:03 -04:00
John Sully 11372f9b60 Merge branch 'unstable' of https://github.com/JohnSully/KeyDB into unstable
Former-commit-id: e8f568644b
2020-07-13 01:05:17 +00:00
John Sully d4dd336834 Merge tag '6.0.5' into unstable
Redis 6.0.5


Former-commit-id: b736a95b0d
2020-07-13 00:55:23 +00:00
benschermel 9fe6750463 Merge branch 'unstable' of https://github.com/JohnSully/KeyDB into unstable
Former-commit-id: d909d12cb3
2020-07-12 18:04:40 -04:00
benschermel cdc47c1853 update rpm permissions
Former-commit-id: 201ffa9d62
2020-07-12 18:03:21 -04:00
John Sully cfcb5ac5c7 Add the KEYDB.MEXISTS command, see issue #203
Former-commit-id: 5619f51528
2020-07-12 21:42:11 +00:00
John Sully c5f6cb1ba5 Add multi-master-no-forward command to reduce bus traffic with multi-master
Former-commit-id: d99d06b125
2020-07-12 19:25:19 +00:00
John Sully 654e72b88d Document min-clients-per-thread
Former-commit-id: 1b9ade7f65
2020-07-12 18:49:02 +00:00
John Sully efc8e719f9 Prevent deadlock in RM_ThreadSafeContextLock() when triggered as part of a module callback in a server thread
Former-commit-id: e01312642b
2020-07-12 18:17:53 +00:00
John Sully cd08792df7 Fix failure to merge databases on active replica sync, due to bad merge with Redis 6
Former-commit-id: cd9514f4c8
2020-07-12 01:13:22 +00:00
John Sully 6816bd1bbd Support missing Redis 6 config options
Former-commit-id: f111c23415
2020-07-11 21:39:20 +00:00
John Sully 10585e4b3b Latency fixes
Former-commit-id: 6857c4c208
2020-07-01 21:59:38 -04:00
Muhammad Zahalqa d28ef47458 replace memcpy with cctor on objects
Former-commit-id: 52897f8f9a
2020-06-24 23:20:59 -04:00
Muhammad Zahalqa 792bc57fdf unique lock used with cv.wait already owns mutex
Former-commit-id: 8bc70e9840
2020-06-24 23:18:53 -04:00
Muhammad Zahalqa d4dfac4b6a Fix bug in condition_variabe.wait usage
consition variable wait should always be called with a locked mutex.
This code break the pre-conditions of using wait.


Former-commit-id: 5b81303f04
2020-06-24 23:18:53 -04:00
Muhammad Zahalqa ca929bb9c1 fixes for robj_sharedptr
1. fix cases where null pointer might be accessed
2. make assignmnet op safe
3. make operator bool explicit (safe bool idiom)
4. make comparison operators symetric

fix robj_sharedptr use in rdb.cpp


Former-commit-id: ede524c064
2020-06-24 23:18:27 -04:00
Muhammad Zahalqa 98abc0e47e aeCommand objects no need for memset and missing init of some memebers.
Former-commit-id: aeed09c346
2020-06-24 23:15:29 -04:00
John Sully e9aead580d Implement replicaof remove as requested in issue #192
Former-commit-id: 70b80aa5fa
2020-06-09 12:43:58 -04:00
antirez 51efb7fe25 Redis 6.0.5. 2020-06-09 12:19:30 +02:00
antirez a7d3670da5 Adapt EVAL+busy script test to new behavior. 2020-06-09 12:19:30 +02:00
antirez ee8dd01bbc Temporary fix for #7353 issue about EVAL during -BUSY. 2020-06-09 11:53:01 +02:00
xhe a4a856d532 return the correct proto version
HELLO should return the current proto version, while the code hardcoded
3
2020-06-09 11:53:01 +02:00
Oran Agra e2046b3003 Don't queue commands in an already aborted MULTI state 2020-06-09 11:53:01 +02:00
Oran Agra b35fdf1de1 Avoid rejecting WATCH / UNWATCH, like MULTI/EXEC/DISCARD
Much like MULTI/EXEC/DISCARD, the WATCH and UNWATCH are not actually
operating on the database or server state, but instead operate on the
client state. the client may send them all in one long pipeline and check
all the responses only at the end, so failing them may lead to a
mismatch between the client state on the server and the one on the
client end, and execute the wrong commands (ones that were meant to be
discarded)

the watched keys are not actually stored in the client struct, but they
are in fact part of the client state. for instance, they're not cleared
or moved in SWAPDB or FLUSHDB.
2020-06-09 11:53:01 +02:00
zhaozhao.zz 1d7bf208ce AOF: append origin SET if no expire option 2020-06-09 11:53:01 +02:00
Oran Agra 676445ad95 fix disconnectSlaves, to try to free each slave.
the recent change in that loop (iteration rather than waiting for it to
be empty) was intended to avoid an endless loop in case some slave would
refuse to be freed.

but the lookup of the first client remained, which would have caused it
to try the first one again and again instead of moving on.
2020-06-09 11:53:01 +02:00
zhaozhao.zz 4846c0c8af donot free protected client in freeClientsInAsyncFreeQueue
related #7234
2020-06-09 11:53:01 +02:00
John Sully f3e5c33a75 Update gcov for C++
Former-commit-id: e8d4d095cc
2020-06-08 16:48:44 -04:00
Ben Schermel 4dec526816 update Dockerfile
Former-commit-id: c50a3568a5
2020-06-08 15:34:22 -04:00
Ben Schermel 28b0af66af updating changelog
Former-commit-id: 17e96b91b5
2020-06-08 15:34:22 -04:00
Ben Schermel 4df9480e0b dh9 for stretch deb pkg
Former-commit-id: c5e7a8517b
2020-06-08 15:34:22 -04:00
Ben Schermel cfff4e9706 fix missing sentinel
Former-commit-id: c36773777d
2020-06-08 15:34:22 -04:00
Ben Schermel 70e6866ad0 update changelog
Former-commit-id: d69e0b8561
2020-06-08 15:34:22 -04:00
Ben Schermel 8dd21fbfc4 update changelog
Former-commit-id: 19ccc22a43
2020-06-08 15:34:22 -04:00