John Sully
8cd2cdca3d
Merge branch 'unstable' of https://github.com/antirez/redis into Multithread
2019-02-21 18:17:12 -05:00
John Sully
d1c3ee3891
Change default back to jemalloc (until defrag is implemented) and fix compile errors
2019-02-21 01:36:38 -05:00
John Sully
05e421b23b
Rebrand more strings visible on console, we're not allowed to call ourselves Redis
2019-02-21 00:24:03 -05:00
John Sully
722e46d8a8
Update copyright notice on files heavily changed
2019-02-21 00:17:07 -05:00
John Sully
8e8abb2ff9
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
627c19e02f
Multithreading works!
2019-02-20 01:20:26 -05:00
John Sully
3f4315125c
Most tests failing, except some memory and number of PSYNC syncs
2019-02-19 01:11:00 -05:00
John Sully
e9a2b6f561
deadlock fixes
2019-02-18 23:52:21 -05:00
John Sully
0914b52ffa
Thread safety fixes
2019-02-18 22:25:35 -05:00
John Sully
65e48b868e
Load balance connections across threads (config NYI and hardcoded)
2019-02-16 14:26:19 -05:00
John Sully
0f293d4fb0
Fix most failing tests
2019-02-15 10:53:32 -05:00
Salvatore Sanfilippo
e973611e01
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
3eb2f4ca14
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
ddff560cac
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
1c15e0ff20
ACL: fix setting of FAST flag.
2019-02-12 17:06:26 +01:00
antirez
46243329d4
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
6059bc7e67
Initial work of multithreaded key-db. Note: Fails tests
2019-02-11 03:36:18 -05:00
John Sully
f6736cd713
Reduce memory usage for in place strings by 8 bytes
2019-02-09 13:04:18 -05:00
John Sully
dac1213462
complete rebranding with tests passing
2019-02-09 10:11:46 -05:00
John Sully
5420f93de9
Fix bug where we try to load a database with no name
2019-02-09 07:56:45 -05:00
antirez
87ce87e68c
ACL: load ACL file at startup. Prevent silly configurations.
2019-02-07 17:20:03 +01:00
John Sully
564dabd0a2
Support AWS S3 saving via the s3 cli tools
2019-02-06 01:06:48 -05:00
John Sully
ef310bc7f8
Merge branch 'unstable' of https://github.com/antirez/redis into unstable
2019-02-06 00:09:39 -05:00
John Sully
cd8145e314
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
1bdc63cc01
ACL: implement rewriting of users in redis.conf.
2019-02-05 10:48:17 +01:00
John Sully
3e61388df3
complete malloc memory class work, and pass tests
2019-02-04 16:56:13 -05:00
antirez
b67e46953b
ACL: load the defined users at server startup.
2019-02-04 16:39:07 +01:00
John Sully
4a84628bf0
Support configurable file backed scratch
2019-02-01 13:54:59 -05:00
John Sully
bac51d5ac4
Custom flash heap
2019-01-29 18:10:46 -05:00
antirez
c9cdbbad7f
ACL: populate category flags from command table.
2019-01-23 16:59:09 +01:00
antirez
460c760e71
ACL: command categories added to the command table.
2019-01-23 12:15:10 +01:00
antirez
28f69e10a4
ACL: improve top comments of the command table.
2019-01-23 11:21:02 +01:00
antirez
ccad1520ff
ACL: mark more commands as read-only commands.
2019-01-23 11:14:39 +01:00
antirez
90f6cdeb21
ACL: remove no longer existing flag from comment.
2019-01-22 17:57:20 +01:00
antirez
c23b0fe1d6
ACL: populate command table with new flags.
2019-01-22 17:57:20 +01:00
antirez
bc8625da80
ACL: review of Redis command table and new flags format.
...
However the code is yet not able to parse the new flags format.
2019-01-22 17:57:20 +01:00
antirez
ee0abae9d2
ACL: specify better the command denied error.
2019-01-22 17:57:20 +01:00
antirez
da54f1fd3f
Refactoring: always kill AOF/RDB child via helper functions.
2019-01-21 11:28:44 +01:00
antirez
a5e69e6729
ACL: remove server.requirepass + some refactoring.
2019-01-18 11:49:30 +01:00
antirez
d26ecf2415
ACL: AUTH + no default user password raises an error.
...
This way the behavior is very similar to the past one.
This is useful in order to remember the user she probably failed to
configure a password correctly.
2019-01-17 18:30:23 +01:00
antirez
d8dc50be2f
ACL: change requirepass stop condition to use ACLs.
2019-01-17 18:22:22 +01:00
antirez
9f666e4710
ACL: fix and improve ACL key checking.
2019-01-16 18:31:05 +01:00
antirez
85eabd7baf
ACL: fix command exec check by returning.
2019-01-15 18:28:43 +01:00
antirez
7b2a807ba2
ACL: AUTH command new form, using the ACL subsystem.
2019-01-15 13:45:16 +01:00
antirez
efd8fa754f
ACL: initial implementation of the ACL command.
2019-01-15 09:36:12 +01:00
antirez
c17fa9ba7b
ACL: Fix compilation by adding prototype and c->cmd fix.
2019-01-14 13:22:56 +01:00
antirez
73f73b9198
ACL: Add hook in processCommand() to check the ACLs before call().
2019-01-14 13:20:45 +01:00
antirez
74f9451799
ACL: modify comment from PR.
2019-01-11 11:30:09 +01:00
charsyam
f627878bbe
fix segmentfault when server start
2019-01-11 19:12:06 +09:00
antirez
1d176f0f0e
ACL: initialization function.
2019-01-10 16:39:32 +01:00