John Sully
55696f4436
Tests are passing! YAY!
...
Former-commit-id: e300f753c58fc542267536cd90c1a6b970d83539
2019-04-02 21:36:04 -04:00
John Sully
9b87144950
It compiles and doesn't crash immediately!
...
Former-commit-id: efaeca588717ca7cd44aa3502672d158acd94a6d
2019-04-02 16:47:05 -04:00
John Sully
7dd15baef9
Active Replica Support
...
Former-commit-id: a7aa2b074049a130761bc0a98d47130b6a0ff817
2019-03-24 15:39:10 -04:00
John Sully
65c581d318
Merge branch 'unstable' of https://github.com/antirez/redis into unstable
...
Former-commit-id: be3cb1ad3386f382ed7506dbfd1adb810e327007
2019-03-14 14:22:27 -04:00
Salvatore Sanfilippo
ec03f2db6b
Merge pull request #4904 from guybe7/memtoll_fix
...
Use memtoll() in 'CONFIG SET client-output-buffer-limit'
2019-03-14 11:43:55 +01:00
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
John Sully
e0089b390b
Thread affinity feature (default disabled)
...
Former-commit-id: 9b1e95809ce57fea84f30b8d5fb68ee00bd46ceb
2019-02-26 15:14:35 -05:00
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
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
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