John Sully
8994aa2d15
Update copyright to include additional authorship
...
Former-commit-id: d912013d1bb5aff9cff1c8f3ab06093007de14e3
2019-02-23 02:27:19 -05:00
John Sully
bc89c6e674
Merge branch 'unstable' of https://github.com/JohnSully/redis2 into unstable
...
Former-commit-id: 898e6519d12c4bb81a429e3e18ae10340cb4748d
2019-02-23 02:25:00 -05:00
John Sully
44945090fd
Merge branch 'Multithread' into unstable
...
Former-commit-id: 8c074a7d013638e920606d139a6f1c4ff43c6511
2019-02-23 02:24:23 -05:00
John Sully
06d4b7efc3
Support configurable number of threads
2019-02-23 01:51:04 -05:00
John Sully
78451a4223
Support a non-spinlock mutex if compiled in
2019-02-23 01:50:02 -05:00
JohnSully
f062991498
More edits
...
Former-commit-id: 6e69b4a795e0ab0a9b3a127b4ca716218daf5977
2019-02-23 01:48:05 -05:00
JohnSully
f3ddd464e3
type
...
Former-commit-id: 1c36b46cb4880a89c4d712215e40e3fb139dc757
2019-02-23 01:33:27 -05:00
JohnSully
fd2c597442
Formatting
...
Former-commit-id: 73abd04b95d26f42923ebde338a0b70f8fa9570c
2019-02-23 01:32:50 -05:00
JohnSully
ae873d184a
Initial rewrite of Readme
...
Former-commit-id: 29d6845d1f7b03e80e39a71ec5aac50ba6e81eb4
2019-02-23 01:28:44 -05:00
John Sully
3871725979
All tests pass single thread
2019-02-23 00:09:34 -05:00
John Sully
199269bff7
Fix failure to trim querybuf (and memory tests that fail because of it)
2019-02-22 22:09:25 -05:00
John Sully
0ebf0f7338
Fix EMBSTR corruption
2019-02-22 21:32:43 -05:00
John Sully
0ccceddae0
Missing file from merge
2019-02-22 21:16:50 -05:00
John Sully
03646fe492
Disable RTTI, we don't need it
2019-02-22 21:16:27 -05:00
John Sully
8b72fe935e
Merge branch 'unstable' of https://github.com/antirez/redis into Multithread
2019-02-22 21:16:10 -05:00
John Sully
1761aabab4
Lock use after free
2019-02-22 21:00:14 -05:00
John Sully
934375cfea
fix corruption in object size optimization
2019-02-22 17:45:50 -05:00
John Sully
b6735ac883
Remove unnecessary mfences
2019-02-22 15:49:22 -05:00
antirez
07473feaeb
ACL: fix ACLSaveToFile() return value.
2019-02-22 12:45:13 +01:00
antirez
2bea3929d0
ACL: less error prone error handling in ACLSaveToFile().
2019-02-22 12:43:08 +01:00
antirez
8b087dff34
Gopher: TODO list.
2019-02-22 11:17:39 +01:00
Salvatore Sanfilippo
2d3cad684c
Merge pull request #5850 from artix75/dev
...
Cluster Manager: fix replica assignment anti-affinity (create)
2019-02-22 10:28:31 +01:00
Salvatore Sanfilippo
21b8560e95
Merge pull request #5858 from madolson/dev-unstable-acl-deluser
...
Making deleting users better defined and update documentation
2019-02-22 10:27:37 +01:00
Salvatore Sanfilippo
3a7fd48e30
Merge pull request #5859 from madolson/dev-unstable-networking-cleanup
...
Refactored manual computation of object length
2019-02-22 10:25:17 +01:00
antirez
f94d711c83
Gopher: basic serving of string type.
2019-02-22 10:21:24 +01:00
John Sully
f4b060e0bd
Prevent mixed up client replies, and deadlocks
2019-02-22 01:24:16 -05:00
John Sully
d016b967c5
Implement try_lock
2019-02-22 01:23:31 -05:00
John Sully
ebf0ae3e97
Merge branch 'unstable' of https://github.com/antirez/redis into Multithread
2019-02-21 18:17:12 -05:00
antirez
e00b22e090
Gopher: initial request handling.
2019-02-21 23:13:08 +01:00
Madelyn Olson
9131fc56d6
Refactored manual computation of object length
2019-02-21 21:35:00 +00:00
Madelyn Olson
fdc4003d23
Making deleting users better defined and update documentation
2019-02-21 21:34:14 +00:00
antirez
3de9ccf190
Gopher: config setting to turn support on/off.
2019-02-21 17:28:53 +01:00
antirez
624568ae3f
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2019-02-21 17:03:19 +01:00
antirez
291e6bccf3
ACL: remove leak in ACLLoadFromFile().
2019-02-21 17:03:06 +01:00
antirez
91aecf0138
ACL: implement ACL SAVE.
2019-02-21 17:01:08 +01:00
antirez
484af7aa7a
ACL: ACLSaveToFile() implemented.
2019-02-21 16:50:28 +01:00
antirez
e4f3a2eecd
ACL: add LOAD subcommand to ACL HELP.
2019-02-21 16:31:33 +01:00
Salvatore Sanfilippo
967a98f570
Merge pull request #4811 from oranagra/cli-diskless-repl
...
Add redis-cli support for diskless replication (CAPA EOF)
2019-02-21 12:54:15 +01:00
Salvatore Sanfilippo
a8921c062d
Merge pull request #5856 from oranagra/cli-bigkeys
...
redis-cli add support for --memkeys, fix --bigkeys for module types
2019-02-21 12:22:09 +01:00
Oran Agra
b6de51206e
redis-cli add support for --memkeys, fix --bigkeys for module types
...
* bigkeys used to fail on databases with module type keys
* new code adds more types when it discovers them, but has no way to know element count in modules types yet
* bigkeys was missing XLEN command for streams
* adding --memkeys and --memkeys-samples to make use of the MEMORY USAGE command
see #5167 , #5175
2019-02-21 12:18:20 +02:00
John Sully
41164fbb61
Change default back to jemalloc (until defrag is implemented) and fix compile errors
2019-02-21 01:36:38 -05:00
John Sully
75f589c702
Don't commit core dumps
2019-02-21 00:43:09 -05:00
John Sully
ac4c00d6d9
Rebrand more strings visible on console, we're not allowed to call ourselves Redis
2019-02-21 00:24:03 -05:00
John Sully
1f2f2edfac
Update copyright notice on files heavily changed
2019-02-21 00:17:07 -05:00
John Sully
942510f1a5
Change fastlock implementation from naive spinlock to a ticket lock for better fairness and lower peak latency
2019-02-21 00:16:47 -05:00
John Sully
02e7fe400c
Cleanup lock contention, and ensure clients are written to in an unsafe way when the global lock is released
2019-02-20 23:30:21 -05:00
artix
0f28754021
Cluster Manager: fix replica assigment anti-affinity (create)
...
Fix issue #5849
2019-02-20 15:36:15 +01:00
John Sully
29c1105132
Multithreading works!
2019-02-20 01:20:26 -05:00
antirez
35ffbead5c
Use dictGetFairRandomKey() for RANDOMKEY as well.
2019-02-19 17:29:51 +01:00
antirez
25b392f90c
Set dictGetFairRandomKey() samples to 20 for final version.
...
Distribution improves dramatically: tests show it clearly. Better to
have a slower implementation than a wrong one, because random member
extraction should be correct or tends to be useless for a number of
tasks.
2019-02-19 17:27:42 +01:00