John Sully
cddcd632ca
All tests runs pass! YAYgit add src/cluster.c src/config.c !
...
Former-commit-id: 59051dd59d90714a13d6e3676f9691b2220b39c3
2019-04-04 01:02:19 -04:00
John Sully
6d05a34ddd
Tests are passing! YAY!
...
Former-commit-id: e300f753c58fc542267536cd90c1a6b970d83539
2019-04-02 21:36:04 -04:00
John Sully
5d3c28a902
It compiles and doesn't crash immediately!
...
Former-commit-id: efaeca588717ca7cd44aa3502672d158acd94a6d
2019-04-02 16:47:05 -04:00
John Sully
ccb9cb8b01
Active Replica Support
...
Former-commit-id: a7aa2b074049a130761bc0a98d47130b6a0ff817
2019-03-24 15:39:10 -04:00
John Sully
aa76a89a9a
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
b9ec23e2df
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
a8dacb0046
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
8db15e9666
Thread affinity feature (default disabled)
...
Former-commit-id: 9b1e95809ce57fea84f30b8d5fb68ee00bd46ceb
2019-02-26 15:14:35 -05:00
John Sully
f97f602f77
Support configurable number of threads
2019-02-23 01:51:04 -05:00
John Sully
8cd2cdca3d
Merge branch 'unstable' of https://github.com/antirez/redis into Multithread
2019-02-21 18:17:12 -05:00
antirez
20c7d1b334
Gopher: config setting to turn support on/off.
2019-02-21 17:28:53 +01: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
627c19e02f
Multithreading works!
2019-02-20 01:20:26 -05:00
John Sully
0914b52ffa
Thread safety fixes
2019-02-18 22:25:35 -05:00
John Sully
aed915cebc
make networking.c a C++ file
2019-02-15 14:11:34 -05:00
John Sully
0f293d4fb0
Fix most failing tests
2019-02-15 10:53:32 -05:00
zhaozhao.zz
de0f42bff3
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
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
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
antirez
53318b9e3f
ACL: ability to configure an external ACL file.
2019-02-05 17:49:52 +01: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
7e4b4cd327
ACL: better error reporting in users configuration errors.
2019-02-04 13:04:35 +01:00
antirez
8dce634f5c
ACL: make ACLAppendUserForLoading() able to report bad argument.
2019-02-04 13:00:58 +01:00
antirez
73efcef7cb
ACL: initial appending of users in user loading list.
2019-02-04 12:55:48 +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
zhaozhao.zz
75a55216ba
ACL: fix compile warnings
2019-01-21 14:53:46 +08:00
antirez
a5e69e6729
ACL: remove server.requirepass + some refactoring.
2019-01-18 11:49:30 +01:00
antirez
19e9bb2363
ACL: fix config get requirepass.
2019-01-18 11:30:40 +01:00
antirez
5d1069e881
ACL: reimplement requirepass option in term of ACLs.
2019-01-17 18:05:43 +01:00
antirez
dbe9cff831
RESP3: Use new deferred len API in config.c.
2019-01-09 17:00:29 +01:00
antirez
421c242dd0
freeMemoryIfNeeded() small refactoring.
...
Related to issue #5686 and PR #5689 .
2018-12-12 11:37:15 +01:00
antirez
2464cacc55
Fix cluster-replica-no-failover option name.
...
Thanks to @NicolasLM, see issue #5537 .
2018-11-07 12:54:46 +01:00
hujie
f96dbdf0ab
fix typo in config.c
2018-10-21 10:37:36 +08:00
antirez
79430d0083
Slave removal: add a few forgotten aliases for CONFIG SET.
2018-09-13 21:43:15 +02:00
antirez
dcdcbcc375
Slave removal: slave -> replica in redis.conf and output buffer option.
2018-09-11 15:32:28 +02:00
antirez
33cfd1a30e
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
39e09ea84c
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
e2c6f9fc60
Make slave-ignore-maxmemory configurable.
2018-08-27 12:27:17 +02:00
antirez
82121055eb
Re-apply rebased #2358 .
2018-08-27 12:17:14 +02:00
antirez
727382c67c
Fix build errors caused by #2358 .
2018-08-27 12:15:55 +02:00
Chris Lamb
61132eb183
Merge branch 'unstable' into config-set-maxmemory-grammar
2018-08-25 21:49:29 +02:00
antirez
790afbcbe4
Make dynamic hz actually configurable.
2018-07-30 13:44:52 +02:00
antirez
2f58f65ee8
Dynamic HZ: separate hz from the configured hz.
...
This way we can remember what the user configured HZ is, but change the
actual HZ dynamically if needed in the dynamic HZ feature
implementation.
2018-07-23 14:13:58 +02:00
WuYunlong
f0a7d56cee
Fix config set slowlog-log-slower-than and condition in createLatencyReport
2018-07-13 17:53:55 +08:00
antirez
938d879c2a
addReplySubSyntaxError() renamed to addReplySubcommandSyntaxError().
2018-07-02 18:49:34 +02:00
Salvatore Sanfilippo
c44be0ab9b
Merge pull request #4998 from itamarhaber/module_command_help
...
Module command help
2018-07-02 18:46:56 +02:00