John Sully
fc4d9e6d1f
subkey expire testes
...
Former-commit-id: 0cf3af6857
2020-01-03 16:50:13 -05:00
John Sully
6370309b58
Drop severity of master disconnect log when multimaster is enabled
...
Former-commit-id: edb993d52b
2020-01-02 15:36:02 -05:00
John Sully
da917c4de5
Fix issue where expire is lost when performing a defrag
...
Former-commit-id: aea333bb78
2020-01-01 20:41:17 -05:00
John Sully
20e529c441
C++ wrapper classes for SDS
...
Former-commit-id: 45817db8c3
2020-01-01 19:13:48 -05:00
John Sully
1790b02984
Fix issue #130 due to fastlock timeout reduction
...
Former-commit-id: dbef17c2e1
2020-01-01 11:52:00 -05:00
John Sully
da17594170
Fix some static analysis warnings
...
Former-commit-id: 42a8f22c21
2019-12-27 18:17:22 -05:00
John Sully
badb709a8f
Ignore dependency files
...
Former-commit-id: 6e06e0dfc7
2019-12-27 17:45:56 -05:00
John Sully
6d52647e57
Make incremental building work with header files
...
Former-commit-id: bf500ab44b
2019-12-27 17:34:41 -05:00
John Sully
f12d664374
Multimaster requires Active Replication
...
Former-commit-id: 4d4eca5433
2019-12-21 18:24:02 -05:00
Petr Vaněk
6eadfd5d34
Rename redis.conf to keydb.conf
...
Former-commit-id: 4b01ad1e30
2019-12-21 15:00:24 -05:00
Petr Vaněk
9ff5ae8a7b
Rename default pid file
...
Former-commit-id: 3b60929bdc
2019-12-21 15:00:24 -05:00
John Sully
848f822d19
Implement subkey expires for sorted sets
...
Former-commit-id: a45d141597
2019-12-18 00:10:05 -05:00
John Sully
a4ead11b2f
Implement subkey expire for hashes
...
Former-commit-id: 8cbe254491
2019-12-18 00:04:48 -05:00
John Sully
ce6a682173
Launch the pro binary with --enable-pro
...
Former-commit-id: ab365ce3da
2019-12-17 23:52:19 -05:00
John Sully
3c25d332a3
Fix type in makefile
...
Former-commit-id: aa3e70f9a0
2019-12-17 18:23:19 -05:00
John Sully
91b4608314
Enusre CXXFLAGS has the same settings as CFLAGS
...
Former-commit-id: cda8d42a76
2019-12-17 17:49:51 -05:00
Petr Vaněk
63874aa201
Correct C++ related makefile variables
...
FINAL_CXXFLAGS should not inherit CFLAGS because they can contain C
specific options unsupported by C++.
REDIS_CXX should point to the C++ compiler rather than C.
Former-commit-id: 67f32bf1b1
2019-12-17 17:43:15 -05:00
Petr Vaněk
95c60468e7
readme: fix typo
...
Former-commit-id: 7a3f363f34
2019-12-16 15:40:09 -05:00
Tais P. Hansen
9bedd4d3d5
Fix keydb-cli crashing on read-only filesystem
...
Former-commit-id: 91eac2cdb3
2019-12-09 14:23:10 -05:00
John Sully
37ff25cecf
Fix Issue #107
...
Former-commit-id: 98a928147f
2019-12-01 18:17:33 -05:00
John Sully
0860489563
Fix deadlock in spinlock (mfence) also spin for less time before sleeping
...
Former-commit-id: 8a9045c028
2019-11-30 00:51:58 -05:00
John Sully
dd5acf2c0d
Fastlock should yield in ARM
...
Former-commit-id: 6c65a11b8d
2019-11-28 14:26:43 -05:00
John Sully
3668715ba3
Fix issue #83
...
Former-commit-id: 3028a890ef
2019-11-21 20:05:16 -05:00
John Sully
88dcedc6e9
Add missing dependency to dockerfile
...
Former-commit-id: 39c6fbddb1
2019-11-20 20:35:14 -05:00
John Sully
338d172733
Merge branch 'unstable' of https://github.com/JohnSully/KeyDB into unstable
...
Former-commit-id: 704cb4e929
2019-11-20 19:44:43 -05:00
John Sully
633b7398e1
Fix issue #107 , active replicas do their own expires
...
Former-commit-id: 8e4f323439
2019-11-20 19:44:31 -05:00
John Sully
f136492c45
Additional asserts ensuring the client is creating on the correct thread
...
Former-commit-id: 937702ea1d
2019-11-20 17:00:40 -05:00
John Sully
852206db90
Update issue templates
...
Former-commit-id: 3ea56ffb38
2019-11-20 16:25:33 -05:00
John Sully
465b35ec52
Update issue templates
...
Former-commit-id: becd3fc5a3
2019-11-20 16:24:23 -05:00
John Sully
72bbf16c2f
Fix failure to wakeup from futex sleep due to fastlock_unlock reading the wrong offset in the asm version. Also fix false sharing in spinlock
...
Former-commit-id: 4c8603815c
2019-11-17 16:06:49 -05:00
John Sully
a27c1c9f0a
Revert "Debug sleep should apply to all threads"
...
This reverts commit b8cc7e2b9c [formerly 41b678814b ].
Former-commit-id: 3ae75c2d2b
2019-11-17 15:39:47 -05:00
John Sully
baffeff5c7
Improve perf of reading cluster bitfield
...
Former-commit-id: 9371c005aa
2019-11-17 14:52:12 -05:00
John Sully
c34fee9ed4
Merge branch 'unstable' of https://github.com/JohnSully/KeyDB into unstable
...
Former-commit-id: 16bd6b3f5d
2019-11-14 21:21:46 -05:00
John Sully
a098681bbf
Cluster multithreading fixes
...
Former-commit-id: 3dd78a6101
2019-11-14 20:14:24 -05:00
John Sully
b8cc7e2b9c
Debug sleep should apply to all threads
...
Former-commit-id: 41b678814b
2019-11-14 19:57:29 -05:00
John Sully
93844525ea
killing clients should take effect ASAP
...
Former-commit-id: d0ccb074d5
2019-11-14 19:49:32 -05:00
John Sully
451c6e81f4
Improve AE Assert message
...
Former-commit-id: cb0fc7cca2
2019-11-14 19:34:13 -05:00
John Sully
75b22fafc2
Fix test failure with tcl8.5 (test only issue)
...
Former-commit-id: 5e40ea6ee7
2019-11-04 17:31:29 -08:00
John Sully
2194d91476
Fix potential race in pubsub
...
Former-commit-id: 427c5999f1
2019-10-25 02:50:30 -04:00
John Sully
df8a20a744
Signals can happen on any thread, so look for the signal handler not the command on the callstack
...
Former-commit-id: f1d2b29450
2019-10-24 23:30:08 -04:00
John Sully
bd9ea70609
Two fixes: 1) Remove race conditions by not locking clients when async writing. 2) Don't derefence dangling pointers in lambda
...
Former-commit-id: cb93752aff
2019-10-24 23:07:02 -04:00
John Sully
1e952f28c2
Sanitizers work with GCC too
...
Former-commit-id: 549cad378d
2019-10-24 23:05:39 -04:00
John Sully
8f015eaebb
Remove the DB lock, its unnecessary
...
Former-commit-id: 631f863dd8
2019-10-24 20:18:48 -04:00
John Sully
7a50cebac4
Remove unlocked KEYS command support, we will do this with snapshotting
...
Former-commit-id: 4396682c07
2019-10-24 20:18:11 -04:00
John Sully
86c1f7aaf7
Build break, ensure C99 compatibility
...
Former-commit-id: ca4ee4e3e4
2019-10-23 13:38:07 -04:00
John Sully
b14b11c87c
Fix build break in TravisCI
...
Former-commit-id: 2da09e0732
2019-10-23 13:31:39 -04:00
John Sully
5f930a4f79
If a replica is about to be closed, don't wait on its lock (potential deadlock)
...
Former-commit-id: 4986dc6da9
2019-10-23 13:20:23 -04:00
John Sully
6dc17bbe1f
processEventsWhileBlocked needs to release the lock in a safe way
...
Former-commit-id: 1a70af2ae1
2019-10-23 13:19:57 -04:00
John Sully
03769b5c17
Remove race conditions
...
Former-commit-id: 5a8cb77d0d
2019-10-22 23:26:37 -04:00
John Sully
1c1260d71f
Optimize deadlock detection, fix callstack for ASM, and annotate locks
...
Note: This change moves our assembly code to use the GNU Assembler because NASM seems to be incapable of emitting the necessary debug information for callstack unwinding to work.
Former-commit-id: 600fc241cf
2019-10-22 21:34:51 -04:00