VivekSainiEQ
|
546bef8be3
|
Forgot to add server.h in last commit
Former-commit-id: 34fa6119c9a3f1533cc3e6e5d118dc6424a70891
|
2021-05-03 16:49:09 +00:00 |
|
VivekSainiEQ
|
10a8a56890
|
Now tracks memory and resizes 'accurately', need to fix cluster
Former-commit-id: 5f0e01cc199427ab6dfd7f8f28321f6a1f34fd1c
|
2021-05-03 16:29:11 +00:00 |
|
VivekSainiEQ
|
f0728a7ead
|
Performance optimizations
Former-commit-id: 7fd83d467784d293f7da78b74f9b9763ce387238
|
2021-04-29 18:51:30 +00:00 |
|
VivekSainiEQ
|
089cbfa580
|
Updated resize logic
Former-commit-id: e6d892ef21b7fc6f51433f32b01198038e555419
|
2021-04-29 17:01:06 +00:00 |
|
VivekSainiEQ
|
5dfac7172f
|
Primitive implementation of bypassing client buffer, stats are all messed up and print statements everywhere
Former-commit-id: 8ae310fb0f7b53add826f76891da333b63860001
|
2021-04-26 22:13:32 +00:00 |
|
John Sully
|
b2ffe82640
|
Allow prefetch even with a single thread
Former-commit-id: 2e68821b330a6bae8a352e37c3da643d504b2ce3
|
2021-04-12 04:44:52 +00:00 |
|
John Sully
|
211b0e5f80
|
Avoid posting unnecessary async tasks
Former-commit-id: 1661d2a05943f96992be195f5dc32dd9a67c0e68
|
2021-04-12 03:44:29 +00:00 |
|
John Sully
|
ea2bbfb5c1
|
Fix issue where GC is not free'd until a BGSAVE
Former-commit-id: 38523e6b508cf5f4b40c178dfe98554abea8f6bd
|
2021-04-12 03:44:15 +00:00 |
|
John Sully
|
14250faddd
|
Make prefetch more aggressive
Former-commit-id: 25a5cfefcf7fa3451e92500f5d310290c4b6bbde
|
2021-04-12 03:42:05 +00:00 |
|
John Sully
|
1b121723e2
|
Don't prefetch when lock contention is low, it increases latency
Former-commit-id: 0d21614e0e5aba28acd364231823d51a3073081f
|
2021-04-12 03:41:53 +00:00 |
|
John Sully
|
e6782d8f1b
|
Reduce P99 latency with async rehash
Former-commit-id: 7ea4c26fd82c0cdfa377183083f38a43336e480b
|
2021-04-12 03:39:13 +00:00 |
|
John Sully
|
df66c598e9
|
Make prefetch configurable
Former-commit-id: 3b660347d70cc25d57119080bd43fb4671e36488
|
2021-04-12 03:38:57 +00:00 |
|
John Sully
|
d58a415e29
|
DO not set the timethread as high priority, it can starve the server threads
Former-commit-id: faeac65371af9d6b6effe0886bcbdefaec24ad6d
|
2021-04-09 01:06:24 +00:00 |
|
John Sully
|
57b242a5ba
|
Fix issue #300
Former-commit-id: bee7f398c9c3b4c01b687d26194913bf215dca36
|
2021-03-30 23:44:34 +00:00 |
|
John Sully
|
32926467aa
|
Fix crash in RDB save
Former-commit-id: ef1e122fcb039d25f60752ca27c9feb5e8cfbb31
|
2021-03-30 20:44:22 +00:00 |
|
John Sully
|
bb629c6f1e
|
Enable LTO
Former-commit-id: 7241bfc25525e8b27193fb0d4f9eae2e5e98e8d6
|
2021-03-28 18:27:14 +00:00 |
|
John Sully
|
526761b6f9
|
Make some asserts debug only for perf
Former-commit-id: c22740df4f7c1468fbe19fd97dfaec20e011b6f1
|
2021-03-28 18:27:00 +00:00 |
|
John Sully
|
5a28256b80
|
Excessive rehashing adds latency
Former-commit-id: 9db2277b0fea032abcde089f617fe7e4f5ce12e3
|
2021-03-28 17:59:02 +00:00 |
|
John Sully
|
73bc5aec95
|
Fix thread safety issues with the cache prefetch logic
Former-commit-id: a80a128bb64b81115c095d6dd91896ff73048b3d
|
2021-03-28 17:58:43 +00:00 |
|
John Sully
|
c356822897
|
Prefetch keys even in pure RAM scenarios
Former-commit-id: 54c0f11db0b35f34c9dfc3c8b4b76b7b7921bacd
|
2021-03-26 23:48:24 +00:00 |
|
John Sully
|
1a2803a1ac
|
Eliminate unnecessary lookup in ensure when there is no snapshot
Former-commit-id: 04540531b95ebadf6d60c90c6681c11060eaf907
|
2021-03-26 23:44:42 +00:00 |
|
John Sully
|
931a5cce44
|
Fix issue where timethread wakes too slowly
Former-commit-id: 60f875f5eb7cb541e537f0f440ce8d5aeac57862
|
2021-03-26 02:54:33 +00:00 |
|
jsully
|
69dd623558
|
Merge branch 'timethread_idle' into 'keydbpro'
Sleep the time thread when server sleeps
See merge request keydb-dev/KeyDB-Pro!15
Former-commit-id: 0864c46e38f85f03ea69a18162e3797370c17c91
|
2021-03-26 02:36:01 +00:00 |
|
John Sully
|
788ff61b4b
|
Prevent unnecessary copies in replication scenarios
Former-commit-id: 84c671cdafae7e84beef722fcc8a90b92918c89d
|
2021-03-25 23:14:48 +00:00 |
|
christianEQ
|
de376f6b93
|
moved time thread code to end of beforeSleep
Former-commit-id: ac1022c772c7357571829f24c87aa3dc2deade72
|
2021-03-24 21:16:21 +00:00 |
|
christianEQ
|
ce8705451a
|
serverAsserts on sleeping_threads, remove bare locks
Former-commit-id: 8c64ca2333d8eb2ee92d835907474ec63e127b62
|
2021-03-24 20:44:40 +00:00 |
|
christianEQ
|
9dde193c1d
|
counter for time thread sleeping threads
Former-commit-id: 6270939d6a2d7820fecac9c5aedf0ff985531f6b
|
2021-03-24 20:33:26 +00:00 |
|
John Sully
|
d71956e1ce
|
Fix bug where we skip valid dict elements in dictGetRandomKey
Former-commit-id: 626b56b00824573660af0c47b210fd1e8d2cfeb2
|
2021-03-24 20:26:33 +00:00 |
|
christianEQ
|
ecf2d0aeb5
|
removed extraneous wakeTimeThread cal
Former-commit-id: cfb5c5d7dc1e09c51ca416a2dbb19eab4bbaa77a
|
2021-03-24 20:24:07 +00:00 |
|
christianEQ
|
301e4f6a16
|
added condition variable to time thread; wake on afterSleep, sleep on beforeSleep
Former-commit-id: ff2f2a3aceff2ba4a74951197348d67fc39568b2
|
2021-03-24 19:27:39 +00:00 |
|
christian
|
adf8ba67c8
|
Merge branch 'rebrand' into 'keydbpro'
Rebrand
See merge request keydb-dev/KeyDB-Pro!14
Former-commit-id: 6840087819f26804302635dd0a75de523e133f8c
|
2021-03-23 20:01:05 +00:00 |
|
benschermel
|
cd48001c21
|
addressing comments from merge review
Former-commit-id: 955aa69ca16ca7230d5099ad16f6f825402b5dd5
|
2021-03-23 18:41:59 +00:00 |
|
benschermel
|
88e6c73906
|
update enterprise wording for keydb.config lk
Former-commit-id: feb2d31e6544763c94f4abaea69bc98bd1cb8b17
|
2021-03-21 05:19:28 +00:00 |
|
benschermel
|
3f9a80917a
|
minor fixes
Former-commit-id: ad7a27d41fb9e8e47966bbee72b28a4be66bbd8f
|
2021-03-18 01:16:57 +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 |
|
benschermel
|
3adcc6efc7
|
re-label keydb-pro-server to keydb-server
Former-commit-id: eb6f61ad372f0f4e573b9b731eac6c7f2ada0d9f
|
2021-03-16 01:57:26 +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 |
|