qetu3790
72ed0b2b03
Merge pull request #1 from qetu3790/qetu3790-patch-1
...
Fix not used constant in lru_test_mode.
2020-01-23 17:30:35 +08:00
qetu3790
7bd9afe780
Fix not used constant in lru_test_mode.
...
LRU_CYCLE_PERIOD is defined,but not used.
2020-01-23 17:18:07 +08:00
John Sully
3be0eac7b6
Missing cron files
...
Former-commit-id: c983d57f739cc9b4b8271a6d069fad1b5a9d3dad
2020-01-21 19:51:16 -05:00
John Sully
1116b63a0e
Initial implementation of the CRON command
...
Former-commit-id: 3204a39ada15ec33ac7926dc8b8f0e1875b99acb
2020-01-21 19:50:28 -05:00
John Sully
5f3fde673b
Bump version
...
Former-commit-id: f4319c12803f27a93150178f8b61f10aea09ce01
2020-01-20 19:20:50 -05:00
srzhao
f6621280c9
Check OOM at script start to get stable lua OOM state.
...
Checking OOM by `getMaxMemoryState` inside script might get different result
with `freeMemoryIfNeededAndSafe` at script start, because lua stack and
arguments also consume memory.
This leads to memory `borderline` when memory grows near server.maxmemory:
- `freeMemoryIfNeededAndSafe` at script start detects no OOM, no memory freed
- `getMaxMemoryState` inside script detects OOM, script aborted
We solve this 'borderline' issue by saving OOM state at script start to get
stable lua OOM state.
related to issue #6565 and #5250 .
2020-01-20 21:34:05 +08:00
antirez
9a39a227ff
Document I/O threads in redis.conf.
2020-01-17 10:47:38 +01:00
antirez
dff5370c8b
Simplify #6379 changes.
2020-01-17 10:47:38 +01:00
antirez
87d059a745
Jump to right label on AOF parsing error.
...
Related to #6054 .
2020-01-17 10:47:38 +01:00
antirez
4048cf6125
Change error message for #6775 .
2020-01-17 10:47:38 +01:00
antirez
598c324bc1
Setting N I/O threads should mean N-1 additional + 1 main thread.
2020-01-17 10:47:38 +01:00
WuYunlong
e67a3a377f
Free allocated sds in pfdebugCommand() to avoid memory leak.
2020-01-17 10:47:38 +01:00
antirez
0b02b27705
Port PR #6110 to new connection object code.
2020-01-17 10:47:38 +01:00
Vasyl Melnychuk
037755edd4
Make error when submitting command in incorrect context more explicit
...
So error message `ERR only (P)SUBSCRIBE / (P)UNSUBSCRIBE / PING / QUIT allowed in this context` will become
`ERR 'get' command submitted, but only (P)SUBSCRIBE / (P)UNSUBSCRIBE / PING / QUIT allowed in this context`
2020-01-17 10:47:38 +01:00
WuYunlong
1588f30ae2
Fix potential memory leak of clusterLoadConfig().
2020-01-17 10:47:38 +01:00
antirez
a6eb3f8bfb
A few comments about main thread serving I/O as well.
...
Related to #6110 .
2020-01-17 10:47:38 +01:00
WuYunlong
2a3a035b64
Fix potential memory leak of rioWriteBulkStreamID().
2020-01-17 10:47:38 +01:00
zhaozhao.zz
1f76ff2fb9
Threaded IO: use main thread to handle read work
2020-01-17 10:47:38 +01:00
zhaozhao.zz
0a3410db70
Threaded IO: use main thread to handle write work
2020-01-17 10:47:38 +01:00
srzhao
90589504cc
fix impl of aof-child whitelist SIGUSR1 feature.
2020-01-17 11:50:51 +08:00
hwware
65cffe587c
format fix
2020-01-16 17:35:26 -05:00
hwware
89f5aaa4d7
fix potentical memory leaks
2020-01-16 17:33:23 -05:00
antirez
c0bdf0eb73
Change error message for #6775 .
2020-01-15 17:55:24 +01:00
Salvatore Sanfilippo
b2ccea5f3c
Merge pull request #6775 from SqREL/make-error-of-invalid-command-withing-context-explicit
...
Make error when submitting command in incorrect context more explicit
2020-01-15 17:53:51 +01:00
Ponnuvel Palaniyappan
9df0a501ee
Fix a potential overflow with strncpy
2020-01-14 08:10:39 +00:00
Ponnuvel Palaniyappan
5b1fc9ce6e
Fix typos in README.md
2020-01-14 07:38:57 +00:00
antirez
4b1de05757
Document I/O threads in redis.conf.
2020-01-13 19:10:42 +01:00
antirez
aca010264c
Setting N I/O threads should mean N-1 additional + 1 main thread.
2020-01-13 18:53:36 +01:00
antirez
5c5f25a9f9
Simplify #6379 changes.
2020-01-13 13:25:37 +01:00
Salvatore Sanfilippo
520a0a6b75
Merge pull request #6739 from trevor211/fixMemoryLeak
...
Fix potential memory leak of rioWriteBulkStreamID().
2020-01-13 13:23:49 +01:00
antirez
5ac23a2765
Jump to right label on AOF parsing error.
...
Related to #6054 .
2020-01-13 13:16:15 +01:00
antirez
ff9e42365f
Port PR #6110 to new connection object code.
2020-01-13 12:54:39 +01:00
antirez
9d6f439760
A few comments about main thread serving I/O as well.
...
Related to #6110 .
2020-01-13 12:50:26 +01:00
Salvatore Sanfilippo
3875ea7671
Merge pull request #6110 from soloestoy/enhance-io-threaded
...
Enhance IO Threaded: use main thread to handle read/write work
2020-01-13 12:46:40 +01:00
John Sully
9a16678a7d
Fix build break for X64
...
Former-commit-id: 76590fdce3ccf7bf3124832f6034c31caf7a8269
2020-01-12 01:28:30 -05:00
John Sully
7f74e0409f
Merge branch 'keydbpro' of https://github.com/JohnSully/KeyDB-Pro into keydbpro
...
Former-commit-id: 4f39ca139f15a5f585f829937a46a56f20644db0
2020-01-12 01:27:22 -05:00
John Sully
49c2b7b77f
Fix snapshot consolidation bugs and reduce log noise
...
Former-commit-id: 7f3cb2981529277d3f02dceb2f60e7aa8385847d
2020-01-12 01:22:44 -05:00
John Sully
46d5a1977e
remove debug printfs
...
Former-commit-id: 3dbd455321e4a2ee47a24662e164eac0e5614965
2020-01-12 01:20:52 -05:00
John Sully
f40359cde6
Merge branch 'moar_perf' into keydbpro_moarperf
...
Former-commit-id: d0990a465c3c5c29b71f239d84a875af40699281
2020-01-11 22:06:20 -05:00
John Sully
793f0bf274
Avoid locking as late as possible
...
Former-commit-id: acc894fe41d4e8869f28928cb0feffa1792c11c4
2020-01-11 19:28:13 -05:00
John Sully
9af43f254d
Merge branch 'unstable' of https://github.com/JohnSully/KeyDB into unstable
...
Former-commit-id: 762396d997b4e155778ba62346376b37b4673154
2020-01-11 16:35:06 -05:00
John Sully
6e096ca33e
Avoid crash due to excessive posted functions for AOF rewrite
...
Former-commit-id: c575e7df9408ad7bd66ac7a104a38e841d525681
2020-01-11 16:34:30 -05:00
John Sully
b9b8272724
Avoid crash due to excessive posted functions for AOF rewrite
...
Former-commit-id: aa6409f2e8a37288eb4953fbcf3a82e02545348b
2020-01-11 16:34:09 -05:00
John Sully
18df86fcde
Merge branch 'unstable' into RELEASE_5
...
Former-commit-id: e603e57588d040f96876d6b281a3867a8db53f6a
2020-01-10 17:46:23 -05:00
John Sully
18cc4b3ebe
Ignore other flags after pro is enabled since we won't understand them
...
Former-commit-id: 049b48ef79fdde4c9b1c9f227a329bd9223e2b1d
2020-01-10 17:46:02 -05:00
Vasyl Melnychuk
9ea3bfdb8b
Make error when submitting command in incorrect context more explicit
...
So error message `ERR only (P)SUBSCRIBE / (P)UNSUBSCRIBE / PING / QUIT allowed in this context` will become
`ERR 'get' command submitted, but only (P)SUBSCRIBE / (P)UNSUBSCRIBE / PING / QUIT allowed in this context`
2020-01-10 23:34:15 +02:00
John Sully
900e596440
Update README.md
...
Former-commit-id: 0ba0a6ab0a2c552e17a4344f9935b40f26c694e1
2020-01-10 14:21:11 -05:00
John Sully
09ff507ee9
Update graphs
...
Former-commit-id: 7475ea1b0b7d8b2f7a8dfb6c6b754126d5160e5b
2020-01-10 14:19:44 -05:00
ShooterIT
4e0c2ff1d8
Rename rdb asynchronously
2020-01-10 13:16:25 +01:00
Leo Murillo
b6caf319e5
Fix bug on KEYS command where pattern starts with * followed by \x00 (null char).
2020-01-10 13:16:25 +01:00