John Sully
|
a0ea81d682
|
Prevent unnecessary copies in replication scenarios
Former-commit-id: b152a9bd88c081ce98eebe9a7af49649e60e5523
|
2021-03-28 22:43:15 +00:00 |
|
John Sully
|
84e07e5d24
|
Make some asserts debug only for perf
Former-commit-id: dc66209f2cf8eadb794dad302bd1ea92890e75b0
|
2021-03-28 21:08:48 +00:00 |
|
John Sully
|
2e3fd28dcb
|
Excessive rehashing adds latency
Former-commit-id: ee5a4528d61420a18f89a07f4ac63e2181a19738
|
2021-03-28 20:22:01 +00:00 |
|
John Sully
|
15d9f45b4e
|
Fix thread safety issues with the cache prefetch logic
Former-commit-id: 4892122fc02109d98684a350bd732a0b08a8c7b4
|
2021-03-28 20:21:44 +00:00 |
|
John Sully
|
01fb2a99bd
|
Prefetch keys even in pure RAM scenarios
Former-commit-id: d7219de186d60a5a437c1828ac97117eaad34819
|
2021-03-28 20:21:31 +00:00 |
|
John Sully
|
1da03185e6
|
Eliminate unnecessary lookup in ensure when there is no snapshot
Former-commit-id: 1f363ed7c13c186f0c120ab4f3e321144667f50f
|
2021-03-28 20:19:15 +00:00 |
|
John Sully
|
f0f4377822
|
Enable LTO
Former-commit-id: 3ec75184bae92c0e7af579eda8cbe6cfa2375327
|
2021-03-28 20:13:54 +00:00 |
|
John Sully
|
3d501dfb11
|
Fix bug where we skip valid dict elements in dictGetRandomKey
Former-commit-id: c25a9a3b84c967428b3598c99a65b14ed2417571
|
2021-03-26 01:18:39 +00:00 |
|
John Sully
|
4f06fb2b4f
|
Make async rehash behave with snapshots (thread safety issues)
Former-commit-id: 372adf39a80252b8035e3c948fcaf7d5ef6f928f
|
2021-03-16 02:38:41 +00:00 |
|
John Sully
|
25f56c59b0
|
Remove snapshot consolidation because its not properly thread safe
Former-commit-id: dcb86d2b92e3ecdb9f914b6f5de9e184cdd23036
|
2021-03-16 02:37:49 +00:00 |
|
John Sully
|
6b579db919
|
Fix TSAN errors in tests
Former-commit-id: 30207d2ab34f175b94f430f97581191343d23f1e
|
2021-03-16 02:29:24 +00:00 |
|
John Sully
|
712e524ea2
|
Support deletes in the monkey
Former-commit-id: 84101aaa1bd0c89fbaffc11a264788cd75458c48
|
2021-03-15 19:41:38 +00:00 |
|
John Sully
|
8de2349fd6
|
Add the monkey script to enhance testing
Former-commit-id: 57ce7b9e9976ca6827415d756ea3cabef1a0d615
|
2021-03-15 15:32:43 +00:00 |
|
John Sully
|
96ab9c58ae
|
We can't swap databases if there are async rehashes
Former-commit-id: 4b8967f94667309c5585032db7403bf4c8885145
|
2021-03-15 05:46:52 +00:00 |
|
John Sully
|
f4eae316b2
|
Enable more asserts to better validate snapshots
Former-commit-id: 01113e2eec3a0dbe0d07f98289a0050df7713047
|
2021-03-14 23:40:41 +00:00 |
|
John Sully
|
718c31000e
|
Fix incorrect memory order on refcounted strings
Former-commit-id: fcf3368b1d56ad7a11e510e5a66e415a46277e8b
|
2021-03-14 19:42:56 +00:00 |
|
John Sully
|
1f1f5bdc91
|
Avoid queuing null pointers to be freed
Former-commit-id: f50541d437cd1d98139c29407bb3fb4d6ce17fca
|
2021-03-14 03:22:10 +00:00 |
|
John Sully
|
b4d0679232
|
Ensure the hash is passed through when moving tombstones
Former-commit-id: 91c8d2d38a33175c64c987b75e94c4b8782a3cdc
|
2021-03-14 03:21:09 +00:00 |
|
John Sully
|
b678ff7d3e
|
Reduce log spam
Former-commit-id: a5ba7bdde5435ad5b7cf066e0b45f6df1f784808
|
2021-03-14 03:19:41 +00:00 |
|
John Sully
|
5a53d87cb5
|
Remove rarely used bug-prone code paths from tricky snapshot code
Former-commit-id: dff84228afb97962d77caefe948154090dd5ce23
|
2021-03-14 03:19:04 +00:00 |
|
John Sully
|
49cc53508d
|
Add checked build support to makefile
Former-commit-id: 7e27c371679d780137a5d39b03b9472651ddf686
|
2021-03-14 03:18:24 +00:00 |
|
John Sully
|
abbf83e8be
|
If we're clearing the command queue we need to reset the parse length
Former-commit-id: 19068f990a77fb428a50a8f751ed6f8cf59a8a74
|
2021-03-10 02:53:52 +00:00 |
|
John Sully
|
f86dee6eb3
|
When we add a delay to rdb save for test purposes we still need to check for aborts
Former-commit-id: b057b4d05aae6c08b855bfc9ae48d41ad0e881f8
|
2021-03-10 02:53:15 +00:00 |
|
John Sully
|
5d7f6d0cd3
|
Fix failed merge due to overwriting the hashidx and pretending no rehash is in progress
Former-commit-id: 0524b822a05b732e0f3e510dcaeb3304069d3595
|
2021-03-10 02:52:22 +00:00 |
|
John Sully
|
7efaf33a78
|
Fix crash saving an RDB
Former-commit-id: 51c35f03a84f7ada0f150a1c3992df574ab89b95
|
2021-03-05 00:54:11 +00:00 |
|
John Sully
|
1bf6ca0645
|
Load perf fixes with a storage provider set
Former-commit-id: 861b19de00c75c9167cc25031292284ad1c21893
|
2021-03-04 07:41:06 +00:00 |
|
John Sully
|
269cbd5c25
|
Fix compile warnings
Former-commit-id: c314cab888e9c8b3e825b2dfe0c0392ee998bdc4
|
2021-03-03 22:12:51 +00:00 |
|
jsully
|
0352f7c9cd
|
Merge branch 'time_thread_priority' into 'keydbpro'
time thread priority + nanosleep
See merge request keydb-dev/KeyDB-Pro!11
Former-commit-id: 423b76a2bbbd568f525f6469ce829ab053972536
|
2021-03-03 18:55:07 +00:00 |
|
John Sully
|
e06cae3fe0
|
Data loss issue due to async rehash interfering with snapshots
Former-commit-id: 5245ca9a67c74b34139cafc9754543d1b8bed90a
|
2021-03-03 07:06:19 +00:00 |
|
John Sully
|
9ea8843e14
|
In low load async rehash may not complete in time, do it in the cron
Former-commit-id: 0a27d30753d887b6251e645abe26118068c55587
|
2021-03-03 07:05:51 +00:00 |
|
John Sully
|
9e986e7a63
|
Don't let dictionaries shrink too rapidly. It can cause massive perf issues while in the shrink rehash
Former-commit-id: a7ad346e4f03c85d22a29c8268d35471e86283aa
|
2021-03-03 07:05:12 +00:00 |
|
John Sully
|
20089d7256
|
Drastically improve perf when loading an RDB with a storage provider
Former-commit-id: 0133b42d54676e8fac2c5cb006cc87988dced268
|
2021-03-02 04:16:20 +00:00 |
|
John Sully
|
52ee1687ff
|
Key prefetch error handling instead of crashign
Former-commit-id: b322a14efb1b897134b229c1726b45264b57783f
|
2021-03-02 01:38:12 +00:00 |
|
christianEQ
|
1478883884
|
time thread priority + nanosleep
Former-commit-id: c84f296edabc001a1836ab8437f746dcff811148
|
2021-02-26 20:17:34 +00:00 |
|
John Sully
|
e5a2edd641
|
Don't complain about unclean shutdowns with an empty database
Former-commit-id: 99f5c02e87062552eaa2f26e960eb7c9dd977c84
|
2021-02-26 06:06:58 +00:00 |
|
John Sully
|
bfbdf23b1a
|
Eliminate needless lock
Former-commit-id: 60f972d463f202edb33ff9a25bc2bd3e2558105c
|
2021-02-26 05:40:56 +00:00 |
|
John Sully
|
807d311a3b
|
Eliminate the need for an mfence by tricking the CPU into ordering the futex read
Former-commit-id: 340e6f5bc94cd1c3b0c6fb6da833e8504acaf23a
|
2021-02-26 01:28:05 +00:00 |
|
John Sully
|
24ea020b4a
|
eliminate syscall in call()
Former-commit-id: 3ee111a2e50bc29818ba85ae4fb786171d695c37
|
2021-02-26 01:03:10 +00:00 |
|
jsully
|
23dba92a75
|
Merge branch 'timethread' into 'keydbpro'
Offload updating cached time to dedicated thread
See merge request keydb-dev/KeyDB-Pro!10
Former-commit-id: 31786a995d0220ec0cb4502917a8cc0f192da4cb
|
2021-02-26 00:50:22 +00:00 |
|
christian
|
75539ced8e
|
Offload updating cached time to dedicated thread
Former-commit-id: 9bfc8a43952481b5b54a7b051d44b8bece4a18dd
|
2021-02-26 00:50:22 +00:00 |
|
John Sully
|
91afeb5d0e
|
Fix issue where finding random keys is slow due to not shrinking the hash table.
Former-commit-id: fd05010cdcf9d6a6187ca2e18bc55adbaa680a02
|
2021-02-22 09:14:24 +00:00 |
|
John Sully
|
7fb41ba1bd
|
Implement maxstorage config
Former-commit-id: 79e07859dfec14edf2a39646013e1a82db033d4f
|
2021-02-19 05:17:41 +00:00 |
|
John Sully
|
dea064712b
|
Disable async rehash with single threads, it causes slowdowns as the rehash never completes
Former-commit-id: 5d08dbdf76c0fd1e0cfcf86b97ef3e656f0e4f5d
|
2021-02-16 21:07:43 +00:00 |
|
John Sully
|
f3853b6485
|
Fix deadlock in storage prefetch
Former-commit-id: 9e6162de08248f7726b97b73aee2f23808ff4e7b
|
2021-02-12 19:38:57 +00:00 |
|
John Sully
|
bb767ad61d
|
Enable prefetch with storage providers
Former-commit-id: 21f9c52c446ad1b460a340c3d873839b2355728f
|
2021-02-11 00:50:21 +00:00 |
|
John Sully
|
2c6616bd82
|
Fix polarity issue in async rehash
Former-commit-id: 9eefba49d4fcde7f12929929d7aeb36f5186a63d
|
2021-02-09 02:41:44 +00:00 |
|
John Sully
|
f6b9c13c54
|
Fix deadlock with disconnecting client and storage provider
Former-commit-id: 0831745323e425f463322e8c0dc27fc25854868e
|
2021-02-08 19:02:01 +00:00 |
|
John Sully
|
e5343f47c2
|
Merge branch 'unstable' into keydbpro
Former-commit-id: e2140793f2bf565972ada799af73bf4457e2718d
|
2021-02-08 18:17:09 +00:00 |
|
John Sully
|
bb733b0aab
|
Fix bug in fastlock stack metadata
Former-commit-id: 241d1bd7e1ed64885adbb07653a5c7e8ef882607
|
2021-02-07 19:11:05 -05:00 |
|
John Sully
|
7d588e637a
|
Disable multithreaded rehash when active defrag is enabled. The two are not compatible
Former-commit-id: 56addcd17262ffbaefea26c0097cde53c616ece2
|
2021-02-07 19:11:05 -05:00 |
|