John Sully
15c301798f
Merge branch 'unstable' of https://github.com/antirez/redis into unstable
...
We want that awesome multithreaded benchmark
Former-commit-id: 07594d4f958892f9270a18bc182728e4dfbf8144
2019-03-02 18:07:18 -05:00
Salvatore Sanfilippo
b19e8b9a2c
Merge pull request #5875 from chendq8/partialsync
...
fix:Slave will do full sync when restart with SHUTDOWN SAVE on cluster mode
2019-03-01 17:29:19 +01:00
John Sully
2cb187ce0a
remove unnecessary logs
...
Former-commit-id: 23f9b584a8e6d082c696b69ff7e1c21e982aae23
2019-02-28 13:57:58 -05:00
Salvatore Sanfilippo
9b0b0b3942
Merge pull request #3649 from Alkorin/fixTypo
...
Fix typo (unsupproted => unsupported) in error message
2019-02-27 22:33:22 +01:00
chendianqiang
8f7e97258b
fix replicationid will not change for server.masterhost==NULL in cluster mode when restart slave
2019-02-27 17:43:05 +08:00
John Sully
e0089b390b
Thread affinity feature (default disabled)
...
Former-commit-id: 9b1e95809ce57fea84f30b8d5fb68ee00bd46ceb
2019-02-26 15:14:35 -05:00
John Sully
a23fffc6d2
test code shouldn't be commited
...
Former-commit-id: 8f7c44257b150856f87367559ae1aef74b15e3a4
2019-02-26 00:21:37 -05:00
John Sully
9f52d518c3
writes shouldn't be under the global lock
...
Former-commit-id: bcfd9327cb4fcf5e1fca9477862919817ddc5ab8
2019-02-26 00:19:38 -05:00
antirez
a7780f716e
Merge branch 'gopher' into unstable
2019-02-25 18:16:58 +01:00
antirez
87594a7470
ACL: move AUTH implementation in acl.c.
2019-02-25 16:33:38 +01:00
John Sully
06d4b7efc3
Support configurable number of threads
2019-02-23 01:51:04 -05:00
John Sully
1761aabab4
Lock use after free
2019-02-22 21:00:14 -05:00
John Sully
f4b060e0bd
Prevent mixed up client replies, and deadlocks
2019-02-22 01:24:16 -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
3de9ccf190
Gopher: config setting to turn support on/off.
2019-02-21 17:28:53 +01: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
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
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
John Sully
29c1105132
Multithreading works!
2019-02-20 01:20:26 -05:00
John Sully
bf41d3916e
Most tests failing, except some memory and number of PSYNC syncs
2019-02-19 01:11:00 -05:00
John Sully
acbad0c04e
deadlock fixes
2019-02-18 23:52:21 -05:00
John Sully
2526d51d1a
Thread safety fixes
2019-02-18 22:25:35 -05:00
John Sully
a47b0f4d3b
Load balance connections across threads (config NYI and hardcoded)
2019-02-16 14:26:19 -05:00
John Sully
48f6d0d800
Fix most failing tests
2019-02-15 10:53:32 -05:00
Salvatore Sanfilippo
fd7484cde2
Merge pull request #5836 from soloestoy/fix-acl-warning
...
ACL: show categories in COMMAND reply
2019-02-13 18:59:59 +01:00
zhaozhao.zz
14507457a0
ACL: show categories in COMMAND reply
...
Adding another new filed categories at the end of
command reply, it's easy to read and distinguish
flags and categories, also compatible with old format.
2019-02-14 00:13:01 +08:00
antirez
e819c2ef5b
ACL: tag LASTSAVE as dangerous.
...
That's not REALLY needed, but... right now with LASTSAVE being the only
command tagged as "admin" but not "dangerous" what happens is that after
rewrites the rewrite engine will produce from the rules:
user default on +@all ~* -@dangerous nopass
The rewrite:
user default on nopass ~* +@all -@admin -@dangerous +lastsave
Which is correct but will have users wondering about why LASTSAVE has
something special.
Since LASTSAVE after all also leaks information about the underlying
server configuration, that may not be great for SAAS vendors, let's tag
it as dangerous as well and forget about this issue :-)
2019-02-13 16:30:44 +01:00
antirez
bfdcfbb3ed
ACL: fix setting of FAST flag.
2019-02-12 17:06:26 +01:00
antirez
f8a6132f15
ACL: refactor+fix AUTH check in processCommand().
...
The part that is fixed is that now if the default user is off whatever
is its configuration the user is not considered authenticated.
2019-02-11 16:47:02 +01:00
John Sully
d62178ec8c
Initial work of multithreaded key-db. Note: Fails tests
2019-02-11 03:36:18 -05:00
John Sully
2f9d958e96
Reduce memory usage for in place strings by 8 bytes
2019-02-09 13:04:18 -05:00
John Sully
d3fc46b3a8
complete rebranding with tests passing
2019-02-09 10:11:46 -05:00
John Sully
d8b67e717c
Fix bug where we try to load a database with no name
2019-02-09 07:56:45 -05:00
antirez
80f987726d
ACL: load ACL file at startup. Prevent silly configurations.
2019-02-07 17:20:03 +01:00
John Sully
e38d1e6c7f
Support AWS S3 saving via the s3 cli tools
2019-02-06 01:06:48 -05:00
John Sully
3e9e84ca19
Merge branch 'unstable' of https://github.com/antirez/redis into unstable
2019-02-06 00:09:39 -05:00
John Sully
41a24e689e
Make main headers C++ safe, and change rdb to use file descriptor instead of FILE pointer
2019-02-05 23:36:40 -05:00
antirez
775bf6193d
ACL: implement rewriting of users in redis.conf.
2019-02-05 10:48:17 +01:00
antirez
8ce3c16317
ACL: implement rewriting of users in redis.conf.
2019-02-05 10:48:17 +01:00
John Sully
2f753a3539
complete malloc memory class work, and pass tests
2019-02-04 16:56:13 -05:00
antirez
623b17425e
ACL: load the defined users at server startup.
2019-02-04 16:39:07 +01:00
antirez
58c070757d
ACL: load the defined users at server startup.
2019-02-04 16:39:07 +01:00
John Sully
a476fdfd8c
Support configurable file backed scratch
2019-02-01 13:54:59 -05:00
John Sully
0ffcf355fe
Custom flash heap
2019-01-29 18:10:46 -05:00
antirez
8a8b8a4199
ACL: populate category flags from command table.
2019-01-23 16:59:09 +01:00
antirez
f99e0f59ef
ACL: populate category flags from command table.
2019-01-23 16:59:09 +01:00
antirez
44dbf235c6
ACL: command categories added to the command table.
2019-01-23 12:15:10 +01:00
antirez
c5e717c637
ACL: command categories added to the command table.
2019-01-23 12:15:10 +01:00
antirez
01a1c01bc1
ACL: improve top comments of the command table.
2019-01-23 11:21:02 +01:00