summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* No-sync: some info in the example redis.conf comments.nosyncantirez2015-02-131-0/+32
|
* No-sync: fixed missing conditional in syncCommand().antirez2015-02-131-2/+2
|
* No-sync: avoid master to be marked as PRE-PSYNC.antirez2015-02-131-0/+1
| | | | | replicationCreateMasterClient() will mark it as such if we don't set a fake initial replication offset.
* Experimental no-sync replication mode.antirez2015-02-135-3/+64
|
* Merge pull request #2390 from sawaman/fix-typoSalvatore Sanfilippo2015-02-121-1/+1
|\ | | | | Unify to uppercase the headline
| * Unify to uppercase the headlineMasahiko Sawada2015-02-121-1/+1
| |
* | Extend memory unit support in CONFIG SET.antirez2015-02-121-5/+5
| | | | | | | | Related to PR #2357.
* | Merge pull request #2357 from lamby/config-set-maxmemory-unitsSalvatore Sanfilippo2015-02-121-2/+3
|\ \ | | | | | | Support "1G" etc. units in CONFIG SET maxmemory
| * | Support "1G" etc. units in CONFIG SET maxmemoryChris Lamb2015-02-041-2/+3
| | | | | | | | | | | | Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
* | | Better memtoll() error checking.antirez2015-02-121-5/+18
| |/ |/| | | | | Related to PR #2357.
* | SPOP replication tests.antirez2015-02-111-0/+19
| |
* | SPOP explicit tests for the three different code paths.antirez2015-02-111-0/+27
| |
* | SPOP with count: fix replication for code path #3.antirez2015-02-111-2/+10
| |
* | SPOP: reimplemented for speed and better distribution.antirez2015-02-115-301/+80
| | | | | | | | | | | | | | | | | | | | The old version of SPOP with "count" argument used an API call of dict.c which was actually designed for a different goal, and was not capable of good distribution. We follow a different three-cases approach optimized for different ratiion between sets and requested number of elements. The implementation is simpler and allowed the removal of a large amount of code.
* | alsoPropagate: handle REDIS_CALL_PROPAGATE and AOF loading.antirez2015-02-112-5/+10
| |
* | Change alsoPropagate() behavior to make it more usable.antirez2015-02-112-9/+24
| | | | | | | | | | Now the API automatically creates its argv copy and increment ref count of passed objects.
* | SPOP with count: initial fixes to the implementation.antirez2015-02-113-42/+54
| | | | | | | | | | | | | | | | | | | | | | Severan problems are addressed but still a few missing. Since replication of this command was more complex than others since it needs to replicate multiple SREM commands, an old API able to do this was reused (it was taken inside the implementation since it was pretty obvious soon or later that would be useful). The API was improved a bit so that now a command may opt-out for the standard command replication when the server.dirty counter is incremented, in order to "manually" replicate what it wants.
* | Separate latency monitoring of eviction loop and eviction DELs.antirez2015-02-113-2/+20
| |
* | dict.c: reset emptylen when bucket is not empty.antirez2015-02-111-0/+1
| | | | | | | | Fixed by @oranagra, thank you.
* | dict.c Rehashing visualization code snippet added to utils.antirez2015-02-112-0/+145
| |
* | redis-cli --stat: show LOAD when loading.antirez2015-02-111-0/+4
| |
* | Remove optional single-key path from evictionPoolPopulate().antirez2015-02-111-6/+0
| |
* | dict.c: add dictGetSomeKeys(), specialized for eviction.antirez2015-02-113-2/+95
| |
* | dict.c: avoid code repetition in dictRehash().antirez2015-02-111-11/+6
| | | | | | | | | | Avoid code repetition introduced with PR #2367, also fixes the return value to always return 0 if there is nothing more to rehash.
* | dict.c/dictRehash: check again to updateSun He2015-02-111-0/+7
| |
* | dict.c: don't try buckets that are empty for sure in dictGetRandomKey().antirez2015-02-111-1/+5
| | | | | | | | | | | | | | This is very similar to the optimization applied to dictGetRandomKeys, but applied to the single key variant. Related to issue #2306.
* | dict.c: dictGetRandomKeys() optimization for big->small table case.antirez2015-02-111-1/+8
| | | | | | | | Related to issue #2306.
* | dict.c: dictGetRandomKeys() visit pattern optimization.antirez2015-02-111-0/+4
| | | | | | | | | | | | | | We use the invariant that the original table ht[0] is never populated up to the index before the current rehashing index. Related to issue #2306.
* | dict.c: put a bound to max work dictRehash() call can do.antirez2015-02-111-2/+11
| | | | | | | | Related to issue #2306.
* | dict.c: prevent useless resize to same size.antirez2015-02-111-0/+3
| | | | | | | | Related to issue #2306.
* | Less blocking dictGetRandomKeys().antirez2015-02-111-23/+31
| | | | | | | | Related to issue #2306.
* | Faster memory efficiency test.antirez2015-02-101-1/+6
| | | | | | | | | | | | This test on Linux was extremely slow, since in Tcl we can't enable easily tcp-nodelay, so the busy loop used to take *a lot* with bigger writes. Fixed using pipelining.
* | Added regression test for issue #2371.antirez2015-02-102-0/+25
| |
* | HAVE_SYNC_FILE_RANGE should be protected by ifdef __linux__.antirez2015-02-101-0/+2
| | | | | | | | Related to issue #2372.
* | Merge pull request #2372 from mariano-perez-rodriguez/patch-2Salvatore Sanfilippo2015-02-101-4/+5
|\ \ | | | | | | Fix HAVE_BACKTRACE on Linux
| * | Fix for #2371Mariano Pérez Rodríguez2015-02-071-4/+5
| | | | | | | | | Fixing #2371 as per @mattsta's suggestion
* | | redis-cli --lru-test implemented (cache workload simulator).antirez2015-02-091-0/+102
| | |
* | | redis-cli: interactive reconnection for latency modes.antirez2015-02-081-9/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | --stat mode already used to reconnect automatically if the server is no longer available. This is useful since this is an interactive mode used for debugging, however the same applies to --latency and --latency-dist modes, so now both use the reconnecting command execution as well. The reconnection code was modified to use basic VT100 escape sequences in order to play better with different kinds of output on the screen when the reconnection happens, and to hide the reconnection attempt output when finally the reconnection happens.
* | | redis-cli --latecy-dist reverted to gray scale.antirez2015-02-081-8/+10
| | | | | | | | | | | | | | | | | | So far not able to find a color palette within the 256 colors which is not confusing. However I believe it is a possible task, so will try better later.
* | | redis-cli --latency-dist now uses a color palette.antirez2015-02-071-8/+14
| | | | | | | | | | | | | | | Still not happy with the result but low grays are hard to see in certain monitors with a non perfect gamma.
* | | redis-cli latency dist: add new top HL.antirez2015-02-071-0/+1
|/ /
* | Add missing latency-dest legend symbol.antirez2015-02-071-1/+1
| |
* | Initial implementation of redis-cli --latency-dist.antirez2015-02-071-0/+153
| |
* | Fix RDB corruption test after server behavior change.antirez2015-02-041-1/+1
| |
* | Merge branch 'unstable' of github.com:/antirez/redis into unstableantirez2015-02-041-1/+1
|\ \
| * | Suppress sign warning in sort.c.antirez2015-02-031-1/+1
| | | | | | | | | | | | Related to #2346.
* | | Replication: put server.master client creation into separated function.antirez2015-02-041-11/+18
|/ /
* | Hopefully better sort.c optimization comments.antirez2015-02-031-15/+9
| | | | | | | | Related to #2346.
* | Merge pull request #2346 from sunheehnus/sortSalvatore Sanfilippo2015-02-031-3/+30
|\ \ | | | | | | Little optimization & bug fix in sort.c
| * | sort.c: REDIS_LIST's dontsort optimizationSun He2015-02-021-3/+30
| | | | | | | | | | | | also fix the situation "dontsort DESC" of a list