John Sully
06d4b7efc3
Support configurable number of threads
2019-02-23 01:51:04 -05:00
John Sully
ebf0ae3e97
Merge branch 'unstable' of https://github.com/antirez/redis into Multithread
2019-02-21 18:17:12 -05: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
29c1105132
Multithreading works!
2019-02-20 01:20:26 -05:00
John Sully
2526d51d1a
Thread safety fixes
2019-02-18 22:25:35 -05:00
John Sully
62090d0a97
make networking.c a C++ file
2019-02-15 14:11:34 -05:00
John Sully
48f6d0d800
Fix most failing tests
2019-02-15 10:53:32 -05:00
zhaozhao.zz
ea9d3aefec
ACL: add masteruser configuration for replication
...
In mostly production environment, normal user's behavior should be
limited.
Now in redis ACL mechanism we can do it like that:
user default on +@all ~* -@dangerous nopass
user admin on +@all ~* >someSeriousPassword
Then the default normal user can not execute dangerous commands like
FLUSHALL/KEYS.
But some admin commands are in dangerous category too like PSYNC,
and the configurations above will forbid replica from sync with master.
Finally I think we could add a new configuration for replication,
it is masteruser option, like this:
masteruser admin
masterauth someSeriousPassword
Then replica will try AUTH admin someSeriousPassword and get privilege
to execute PSYNC. If masteruser is NULL, replica would AUTH with only
masterauth like before.
2019-02-12 17:12:37 +08: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
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
antirez
cc116736c1
ACL: ability to configure an external ACL file.
2019-02-05 17:49:52 +01:00
antirez
475fd7ba2e
ACL: ability to configure an external ACL file.
2019-02-05 17:49:52 +01: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
68fd4a97fa
ACL: better error reporting in users configuration errors.
2019-02-04 13:04:35 +01:00
antirez
20fa89d093
ACL: better error reporting in users configuration errors.
2019-02-04 13:04:35 +01:00
antirez
b166c41edd
ACL: make ACLAppendUserForLoading() able to report bad argument.
2019-02-04 13:00:58 +01:00
antirez
0d6e0f8d23
ACL: make ACLAppendUserForLoading() able to report bad argument.
2019-02-04 13:00:58 +01:00
antirez
21e84cdae2
ACL: initial appending of users in user loading list.
2019-02-04 12:55:48 +01:00
antirez
1327538221
ACL: initial appending of users in user loading list.
2019-02-04 12:55:48 +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
zhaozhao.zz
aee528ee66
ACL: fix compile warnings
2019-01-21 14:53:46 +08:00
zhaozhao.zz
ab1992c9c6
ACL: fix compile warnings
2019-01-21 14:53:46 +08:00
antirez
4261b70f8d
ACL: remove server.requirepass + some refactoring.
2019-01-18 11:49:30 +01:00
antirez
c8391388c2
ACL: remove server.requirepass + some refactoring.
2019-01-18 11:49:30 +01:00
antirez
b3087f5d6a
ACL: fix config get requirepass.
2019-01-18 11:30:40 +01:00
antirez
7de6e30241
ACL: fix config get requirepass.
2019-01-18 11:30:40 +01:00
antirez
03c4aa01ec
ACL: reimplement requirepass option in term of ACLs.
2019-01-17 18:05:43 +01:00
antirez
7b65605ab2
ACL: reimplement requirepass option in term of ACLs.
2019-01-17 18:05:43 +01:00
antirez
c3d7abb004
RESP3: Use new deferred len API in config.c.
2019-01-09 17:00:29 +01:00
antirez
cdd10193c5
RESP3: Use new deferred len API in config.c.
2019-01-09 17:00:29 +01:00
antirez
b166aff1bf
freeMemoryIfNeeded() small refactoring.
...
Related to issue #5686 and PR #5689 .
2018-12-12 11:37:15 +01:00
antirez
129f2d2746
freeMemoryIfNeeded() small refactoring.
...
Related to issue #5686 and PR #5689 .
2018-12-12 11:37:15 +01:00
antirez
8abfdc43f1
Fix cluster-replica-no-failover option name.
...
Thanks to @NicolasLM, see issue #5537 .
2018-11-07 12:54:46 +01:00
antirez
0cb798ea2b
Fix cluster-replica-no-failover option name.
...
Thanks to @NicolasLM, see issue #5537 .
2018-11-07 12:54:46 +01:00
hujie
cd28b531e8
fix typo in config.c
2018-10-21 10:37:36 +08:00
hujie
e610dbce14
fix typo in config.c
2018-10-21 10:37:36 +08:00
antirez
7b308a271e
Slave removal: add a few forgotten aliases for CONFIG SET.
2018-09-13 21:43:15 +02:00
antirez
411f4b4c12
Slave removal: add a few forgotten aliases for CONFIG SET.
2018-09-13 21:43:15 +02:00
antirez
8347a21976
Slave removal: slave -> replica in redis.conf and output buffer option.
2018-09-11 15:32:28 +02:00
antirez
6f3d357d8f
Slave removal: slave -> replica in redis.conf and output buffer option.
2018-09-11 15:32:28 +02:00
antirez
6444c30ae2
Slave removal: config.c converted + config rewriting hacks.
...
Aliases added for all the commands mentioning slave. Moreover CONFIG
REWRITE will use the new names, and will be able to reuse the old lines
mentioning the old options.
2018-09-11 15:32:28 +02:00
antirez
6f58486139
Slave removal: config.c converted + config rewriting hacks.
...
Aliases added for all the commands mentioning slave. Moreover CONFIG
REWRITE will use the new names, and will be able to reuse the old lines
mentioning the old options.
2018-09-11 15:32:28 +02:00
antirez
23a5668d8f
Use commands (effects) replication by default in scripts.
...
See issue #5250 and issue #5292 for more info.
2018-09-05 19:33:56 +02:00
antirez
7895835df6
Use commands (effects) replication by default in scripts.
...
See issue #5250 and issue #5292 for more info.
2018-09-05 19:33:56 +02:00
antirez
85a2a2ffa3
Make slave-ignore-maxmemory configurable.
2018-08-27 12:27:17 +02:00