Commit graph

80 commits

Author SHA1 Message Date
Sergey A. Osokin
d503655b35 Upgrade from 3.0.7 to latest 3.2.0-rc3. 2016-02-03 01:02:21 +00:00
Sergey A. Osokin
67d34c0f84 Upgrade from 3.0.5 to 3.0.7.
<ChangeLog>

--[ Redis 3.0.7 ] Release date: 28 jan 2016

Upgrade urgency MODERATE: this release fixes important Redis Cluster bugs.

* [FIX] avg_ttl reporting in INFO improved. (Salvatore Sanfilippo)
* [FIX] Redis Cluster address update (via gossip section) processing improved
        to avoid initiating inwanted handshakes.
* [FIX] Many fixes to MIGRATE multiple keys implementation. The command
        could handle errors in a faulty way leading to crashes or other
        unexpected behaviors. MIGRATE command refactoring.
        (The analysis of the faulty conditions was conducted by
         Kevin McGehee. The fix was developed by Salvatore Sanfilippo)
* [FIX] A Redis Cluster node crash was fixed because of wrong handling of
        node->slaveof pointers.
        (Reported by JackyWoo, fixed by Salvatore Sanfilippo)
* [FIX] Fix redis-trib rebalance when nodes need to be left empty because
        the specified weight is zero.
        (Reported by Shahar Mor, fixed by Salvatore Sanfilippo)
* [FIX] MIGRATE: Never send -ASK redirections for MIGRATE when there are
        open slots. Redis-trib and other cluster management utility must
        always be free to move keys between nodes about open slots, in order
        to reshard, fix the cluster configuration, and so forth.
        (Salvatore Sanfilippo)
* [FIX] Redis-trib is now able to fix more errors. A new CLUSTER subcommand
        called BUMPEPOCH was introduced in order to support new modes
        for the "fix" subcommand. (Salvatore Sanfilippo)
* [NEW] Cluster/Sentinel tests now use OSX leak to perform leak detection
        at the end of every unit. (Salvatore Sanfilippo)
* [NEW] Detect and show server crashes during Cluster/Sentinel tests.
        (Salvatore Sanfilippo)
* [NEW] More reliable Cluster/Sentinel test becuase of timing errors and
        -LOADING errors. (Salvatore Sanfilippo)

--[ Redis 3.0.6 ] Release date: 18 Dec 2015

Upgrade urgency: MODERATE. We fixed a crash that happens very rarely, so
                 updating does not hurt, but most users are unlikely to
                 experience this condition because it requires some odd
                 timing. However if you are a Redis Cluster user, upgrading
                 is strongly adviced since this release includes very
                 important improvements to Redis Cluster.

* [FIX] lua_struct.c/getnum security issue fixed. (Luca Bruno discovered it,
        patched by Sun He and Chris Lamb)
* [FIX] Redis Cluster replica migration fixed. See issue #2924 for details.
        (Salvatore Sanfilippo)
* [FIX] Fix a race condition in processCommand() because of interactions
        with freeMemoryIfNeeded(). Details in issue #2948 and especially
        in the commit message d999f5a. (Race found analytically by
        Oran Agra, patch by Salvatore Sanfilippo)

* [NEW] Backported from the upcoming Redis 3.2:
        MIGRATE now supports an extended multiple-keys pipelined mode, which
        is an order of magnitude faster. Redis Cluster now uses this mode
        in order to perform reshardings and rebalancings. (Salvatore Sanfilippo)
* [NEW] Backported from the upcoming Redis 3.2:
        Redis Cluster has now support for rebalancing via the redis-trib
        rebalance command. Demo here:
        https://asciinema.org/a/0tw2e5740kouda0yhkqrm5790
        Official documentation will be available ASAP. (Salvatore Sanfilippo)
* [NEW] Redis Cluster redis-trib.rb new "info" subcommand.
* [NEW] Redis Cluster tests improved. (Salvatore Sanfilippo)
* [NEW] Log offending memory access address on SIGSEGV/SIGBUS (Salvatore
        Sanfilippo)

</ChangeLog>
2016-02-03 00:13:59 +00:00
Sergey A. Osokin
f14346f630 Enable profiles support.
Bump PORTREVISION.

PRs:	171372, 179551
2015-11-07 20:08:18 +00:00
Sergey A. Osokin
6d6485b556 Add rc script for sentinel.
Bump PORTREVISION.

PR:	204025
2015-10-29 01:34:53 +00:00
Sergey A. Osokin
6e9e1357af Upgrade from 3.0.4 to 3.0.5.
<ChangeLog>

--[ Redis 3.0.5 ] Release date: 15 Oct 2015

Upgrade urgency: MODERATE, the most important thing is a fix in the replication
                 code that may make the slave hanging forever if the master
                 remains with an open socket even if it is no longer able to
                 reply.

* [FIX] MOVE now moves the TTL as well. A bug lasting forever... finally
        fixed thanks to Andy Grunwald that reported it.
        (reported by Andy Grunwald, fixed by Salvatore Sanfilippo)
* [FIX] Fix a false positive in HSTRLEN test.
* [FIX] Fix a bug in redis-cli --pipe mode that was not able to read back
        replies from the server incrementally. Now a mass import will use
        a lot less memory, and you can use --pipe to do incremental streaming.
        (reported by Twitter user @fsaintjacques, fixed by Salvatore
        Sanfilippo)
* [FIX] Slave detection of master timeout. (fixed by Kevin McGehee, refactoring
        and regression test by Salvatore Sanfilippo)

* [NEW] Cluster: redis-trib fix can fix an additional case for opens lots.
        (Salvatore Sanfilippo)
* [NEW] Cluster: redis-trib import support for --copy and --replace options
        (David Thomson)

</ChangeLog>
2015-10-25 23:39:49 +00:00
Sergey A. Osokin
37a47842ba Upgrade from 3.0.3 to 3.0.4.
<ChangeLog>

Upgrade urgency: HIGH for Redis and Sentinel. However note that in order to
                 fix certain replication bugs, the replication internals were
                 modified in a very heavy way. So while this release is
                 conceptually saner, it may contain regressions. For this
                 reason, before the release, QA activities were performed by
                 me (antirez) and Redis Labs and no evident bug was found.

* [FIX] A number of bugs related to replication PSYNC and the (yet experimental)
        diskless replication feature were fixed. The bugs could lead to
        inconsistency between masters and slaves. (Salvatore Sanfilippo, Oran
        Agra fixed the issue found by Yuval Inbar)
* [FIX] A replication bug in the context of PSYNC partial resynchonization was
        found and fixed. This bug happens even when diskless replication is off
        in the case different slaves connect at different times while the master
        is creating an RDB file, and later a partial resynchronization is
        attempted by a slave that connected not as the first one. (Salvatore
        Sanfilippo, Oran Agra)
* [FIX] Chained replication and PSYNC interactions leading to potential stale
        chained slaves data set, see issue #2694. (Salvatore Sanfilippo fixed
        an issue reported by "GeorgeBJ" user at Github)
* [FIX] redis-cli --scan iteration fixed when returned cursor overflows
        32 bit signed integer. (Ofir Luzon, Yuval Inbar)
* [FIX] Senitnel: fixed a bug during the master switch process, where for a
        failed conditional check, the new configuration is rewritten, during
        a small window of time, in a corrupted way where the master is
        also reported to be one of the slaves. This bug is rare to trigger
        but apparently it happens in the wild, and the effect is to see
        a replication loop where the master will try to replicate with itself.
        A detailed explanation of the bug and its effects can be found in
        the commit message here:
        c20218eb57.
        The bug was found by Jan-Erik Rediger using a static analyzer and
        fixed by Salvatore Sanfilippo.
* [FIX] Sentinel lack of arity checks for certain commands.
        (Rogerio Goncalves, Salvatore Sanfilippo)

* [NEW] Replication internals rewritten in order to be more resistant to bugs.
        The replication handshake in the slave side was rewritten as a non
        blocking state machine. (Salvatore Sanfilippo, Oran Agra)
* [NEW] New "replication capabilities" feature introduced in order to signal
        from the master to the slave what are the features supported, so that
        the master can choose the kind of replication to start (diskless or
        not) when master and slave are of different versions. (Oran Agra,
        Salvatore Sanfilippo)
* [NEW] Log clients details when SLAVEOF command is received. (Salvatore
        Sanfilippo with inputs from Nick Craver and Marc Gravell).

</ChangeLog>
2015-09-14 23:41:59 +00:00
Sergey A. Osokin
c77e22f8f7 Upgrade from 3.0.2 to 3.0.3.
<ChangeLog>

--[ Redis 3.0.3 ] Release date: 17 Jul 2015

Upgrade urgency: LOW for Redis and Sentinel.

* [FIX] Fix blocking operations timeout precision when HZ is at its default
        value (not increased) and there are thousands of clients connected
        at the same time. This bug affected Sidekiq users that experienced
        a very long delay for BLPOP and similar commands to return for
        timeout. Check commit b029ff1 for more info. (Salvatore Sanfilippo)
* [FIX] MIGRATE "creating socket: Invalid argument" error fix. Check
        issues #2609 and #2612 for more info. (Salvatore Sanfilippo)
* [FIX] Be able to connect to the master even when the slave is bound to
        just the loopback interface and has no valid public address in the
        network the master is reacahble. (Salvatore Sanfilippo)
* [FIX] ZADD with options encoding promotion fixed. (linfangrong)
* [FIX] Reset aof_delayed_fsync on CONFIG RESETSTATS. (Tom Kiemes)
* [FIX] PFCOUNT key parsing in cluster fixed. (MOON_CLJ)
* [FIX] Fix Solaris compilation of Redis 3.0. (Jan-Erik Rediger)

* [NEW] Variadic EXISTS command. Now the command accepts multiple arguments
        and returns the total count of existing keys.

</ChangeLog>
2015-07-18 00:05:05 +00:00
Sergey A. Osokin
d62ca4b0be Security upgrade from 3.0.1 to 3.0.2.
<ChangeLog>

--[ Redis 3.0.2 ] Release date: 4 Jun 2015

Upgrade urgency: HIGH for Redis because of a security issue.
                 LOW for Sentinel.

* [FIX] Critical security issue fix by Ben Murphy: http://t.co/LpGTyZmfS7
* [FIX] SMOVE reply fixed when src and dst keys are the same. (Glenn Nethercutt)
* [FIX] Lua cmsgpack lib updated to support str8 type. (Sebastian Waisbrot)

* [NEW] ZADD support for options: NX, XX, CH. See new doc at redis.io.
        (Salvatore Sanfilippo)
* [NEW] Senitnel: CKQUORUM and FLUSHCONFIG commands back ported.
        (Salvatore Sanfilippo)

</ChangeLog>
2015-06-05 00:52:12 +00:00
Sergey A. Osokin
ef7625e1f6 Fix rc.d script for allow to specify the config path in rc.conf.
Bump PORTREVISION.

PR:	199607
2015-05-06 01:24:13 +00:00
Sergey A. Osokin
4825a1b2fc Upgrade from 3.0.0 to 3.0.1.
<ChangeLog>

--[ Redis 3.0.1 ] Release date: 5 May 2015

Upgrade urgency: LOW for Redis, Sentinel, Cluster.

* [FIX] Sentinel memory leak due to hiredis fixed. (Salvatore Sanfilippo)
* [FIX] Sentinel memory leak on duplicated instance. (Charsyam)
* [FIX] Redis crash on Lua reaching output buffer limits. (Yossi Gottlieb)
* [FIX] Sentinel flushes config on +slave events. (Bill Anderson)

</ChangeLog>
2015-05-06 01:12:27 +00:00
Sergey A. Osokin
75d697262a Upgrade from 3.0.0-rc4 to 3.0.0.
<ChangeLog>

--[ Redis 3.0.0 ] Release date: 1 Apr 2015

Changes between RC6 and 3.0.0 stable:

>> General changes

* Fixes to diskless replication. (Oran Agra)
* Test for BLPOP replication on role change. (Salvatore Sanfilippo)
* prepareClientToWrite() error handling improvements. (Salvatore Sanfilippo)
* Remove dict.c no longer used function. (Salvatore Sanfilippo)

>> Cluster changes

None

>> Sentinel changes

None

--[ Redis 3.0.0 RC6 (version 2.9.106) ] Release date: 24 mar 2015

Upgrade urgency: HIGH because of bugs related to Redis Custer and replication.

This is the 6th release candidate of Redis 3.0.0. This release fixes important
issues discovered during stress testing, and implements safest behavior
for blocking operations during clients reshardings, and a new much needed
functionality of Redis Cluster manual failovers.

In order to fix certain bugs quite a bit of refactoring was needed which
is usually non advisabble in a Release Candidate, but needed in order to
end with a clean fix.

>> General changes

* [FIX] Redis (non clustered & clustered) replication bug involving blocking
        operations: see issue #2473. (Salvatore Sanfilippo)

>> Cluster changes

* [FIX] clientsArePaused() fix crashing the old master during manual failover.
        (Salvatore Sanfilippo)
* [FIX] Lua scripts replication in Redis Cluster was totally broken.
        (Salvatore Sanfilippo)
* [FIX] Redirect clients blocked into list operations when the hash slot
        they are blocked into is migrated to another instance or the cluster
        state turns into "fail". (Salvatore Sanfilippo)

* [NEW] TAKEOVER option for CLUSTER FAILOVER implemented. It is now possible
        to fix a cluster manually in the minority side of the partition, for
        example in order to allow for multi DC setups & recovery.
        (Salvatore Sanfilippo)

>> Sentinel changes

No changes in Sentinel.

--[ Redis 3.0.0 RC5 (version 2.9.105) ] Release date: 20 mar 2015

Upgrade urgency: Moderate for Redis Cluster users, low otherwise.

This is the 5th release candidate of Redis 3.0.0, released in order to fix
a moderate bug in Redis Cluster. This RC does not shift in the future the
Redis 3.0.0 final release which is scheduled in a few days (we are in the
process of finishing the documentation for Redis Cluster).

>> General changes

* [FIX] Fix LATENCY command crash. (Salvatore Sanfilippo, thx to Ingmar)
* [FIX] Config: missing activerehashing option support in CONFIG SET added.
        (Salvatore Sanfilippo, thx to Bill Anderson)
* [FIX] Fix for backtrace generation issue. (Mariano Pérez Rodríguez, Matt Stancliff, Salvatore Sanfilippo)

* [NEW] Redis-cli --latency-dist backported from unstable.
        (Salvatore Sanfilippo)

>> Cluster changes

* [FIX] Avoid redundant SELECT in MIGRATE. (Tommy Wang, Salvatore Sanfilippo)
* [FIX] More robust slave check in CLUSTER REPLICATE. (Salvatore Sanfilippo)
* [FIX] Fixed possible Redis Cluster node crash due to wrong separation of
        concerns between getNodeByQuery() and Cluster global state update
        fnuction. (Salvatore Sanfilippo, thx to Ingmar)

* [NEW] Add command CLUSTER MYID to easily featch instance ID. (Michel Martens)

>> Sentinel changes

* [NEW] Support for CLIENT command added. It was missing in the command table.
        (Leandro López)

</ChangeLog>
2015-04-07 22:14:16 +00:00
John Marino
8f3cf904a9 databases category: Remove $PTHREAD_LIBS
Note: virtuoso did not pass check-plist from before, so it was fixed.

approved by:	PTHREAD blanket
2015-03-25 09:33:52 +00:00
Sergey A. Osokin
11f341192e Upgrade from 3.0.0-rc3 to 3.0.0-rc4.
<ChangeLog>

--[ Redis 3.0.0 RC4 (version 2.9.104) ] Release date: 13 feb 2015

Upgrade urgency: High for Redis if you use LRU eviction, low otherwise.

This is the 4th release candidate of Redis 3.0.0, it fixes problems with
LRU eviction that are not present in older release (2.8.x is not affected)
and adds new tools to inspect latency and load-test LRU.

>> General changes

* [FIX] redis-cli CSV output NIL spurious newline removed. (Matt Collier)
* [FIX] Memory efficiency test in unit test is now much faster: it affacted
        the total "make test" execution time in a bad way.  (Salvatore
        Sanfilippo)
* [FIX] Fixes and improvements to dict.c and LRU eviction. Redis 3.0.0 new
        LRU eviction had bugs creating high latency spikes when LRU was
        happening during the keys dictionary rehashing. This bug is not
        present into 2.8, was 3.0 specific. As a side effect of this issue
        dict.c is now improved, and LRU algorithm is more precise (better
        approximates true LRU). This was a joint effort, see issue
        #2306 for details. (Oran Agra, Sun He, Salvatore Sanfilippo).
        Thanks to Charsyam for spotting an integer overflow.

* [NEW] New latency tool: redis-cli --latency-dist is able to show an
        xterm-256 based spectrum of latencies over time. (Salvatore Sanfilippo)
* [NEW] redis-cli --lru-test implemented (cache workload simulator). (Salvatore
        Sanfilippo)
* [NEW] redis-cli --stat now shows LOAD when Redis is loading data.
* [NEW] Support "1G" etc. units in CONFIG SET. (Chris Lamb, Salvatore
        Sanfilippo)

>> Cluster changes

* None.

>> Sentinel changes

* None.

</ChangeLog>
2015-02-21 02:47:43 +00:00
Sergey A. Osokin
02597e5a1e Upgrade from 3.0.0-rc2 to 3.0.0-rc3.
<ChangeLog>

--[ Redis 3.0.0 RC3 (version 2.9.103) ] Release date: 30 jan 2015

Upgrade urgency: High for Redis Cluster users, Low otherwise.

This is the third release candidate for Redis 3.0.0, the new RC fixes
several critical issues with Redis Cluster.

>> General changes

* [FIX] AOF bug unlikely to happen in practice and mostly harmless: child
        process segfaults when parent is not reachable via pipe. (Sun He)
* [FIX] Scripting engine now reports an error when misused with Lua debug
        hooks, instead of crashing. (Salvatore Sanfilippo)

>> Cluster changes

* [FIX] Several issues with Redis Cluster internal nodes objects handling.
        (Matt Stancliff & Salvatore Sanfilippo)
* [FIX] Improvements in the Cluster test.
        (Matt Stancliff & Salvatore Sanfilippo).
* [FIX] Cluster memory leaks / double frees (Matt Stancliff).
* [FIX] /dev/urandom surrogate for generation of unique IDs in a more
        cheap way. (Salvatore Sanfilippo)
* [FIX] Fixes and improvements to PING / PONG packets gossip sections
        in order to improve (and fix) failure detection and speedup
        cluster info propagation. (Salvatore Sanfilippo)

* [NEW] CLUSTER count-failure-reports command added. (Salvatore Sanfilippo)

>> Sentinel changes

No changes for Sentinel.

</ChangeLog>
2015-02-04 01:38:00 +00:00
Sergey A. Osokin
dae4751ead Upgrade from 3.0.0-rc1 to 3.0.0-rc2.
<ChangeLog>

--[ Redis 3.0.0 RC2 (version 2.9.102) ] Release date: 13 jan 2014

Upgrade urgency: LOW.

This is the second release candidate of Redis Cluster. The major changes
are back porting of things implemented into the unstable branch while
this was still possible (with the new development model adopted only
bug fixes will be merged in the future).

RC2 also fixes a few Redis Cluster non critical bugs.

>> General changes

* [FIX] A number of minor bug fixes.

* [NEW] Diskless replication backportede.
* [NEW] Lua bitops and updated cmsgpack backported.
* [NEW] Transparent Huge Pages warnings and reporting backported.

>> Cluster changes

* [FIX] Fix PUBLISH cluster bus message count field.
* [FIX] It is no longer possible to write outside node hash slots using Lua.
* [FIX] Valgrind warnings (no actual bugs).
* [FIX] Less strict in acceptiong myself->ip if it's not populated.

* [NEW] Better testing of Lua scripts.

>> Sentinel changes

No changes to Sentinel.

</ChangeLog>
2015-01-17 19:23:18 +00:00
Baptiste Daroussin
3edc030b9f Cleanup plist 2014-10-20 10:41:12 +00:00
Sergey A. Osokin
0a3e78eb8c Upgrade from 3.0.0-beta8 to 3.0.0-rc1.
<ChangeLog>

--[ Redis 3.0.0 RC1 (version 2.9.101) ] Release date: 9 oct 2014

This is the first release candidate of Redis Cluster.

>> General changes

* [FIX] An very large number of small fixes, old and new, merged in the
        context of a the issue #1906. Please see the issue page here
        for exact credits: https://github.com/antirez/redis/pull/1906
        of each commit. (Matt Stancliff and many others).
* [FIX] SAVE is no longer propagated to AOF / slaves.
* [FIX] GETRANGE test no longer fails for 32 bit builds (Matt Stancliff).
* [FIX] Limit SCAN latency when the hash table is in an odd state (very few
        populted buckets because rehashing is in progress). (Xiaost and
        Salvatore Sanfilippo)

* [NEW] Redis is now able to load truncated AOF files without requiring a
        redis-check-aof utility run. The default now is to load truncated
        (but apparently not corrupted) AOFs, you can change this in redis.conf.
        (Salvatore Sanfilippo).
* [NEW] DEBUG POPULATE two args form implemented. It is now possible to
        call it with DEBUG POPULATE <count> <prefix>. Default prefix
        is "key:" as usually.
* [NEW] INCR: Modify incremented object in-place when possible. This results
        in speed improvements + possibly better memory locality.

>> Cluster changes

* [FIX] Cluster: claim ping_sent time even if we can't connect.
* [FIX] redis-trib should not abort easily on connection issues.
* [FIX] Cluster test: less console-spammy resharding test.
* [FIX] Fix logic to detect we are among a minority.
* [FIX] Process gossip section only for known nodes.

* [NEW] Redis Cluster is stable and tested enough, there is a clear MVP,
        so it was promoted from beta to stable.
* [NEW] New unit 09, Pub/Sub across the cluster.
* [NEW] New unit 08, update messages.
* [NEW] New cluster option to work with partial slots coverage.
* [NEW] More chatty cluster slaves when failover is stalled. They log reason
        with rate limiting, only when reason changes or a given time
        has elapsed.

>> Sentinel changes

* [FIX] Sentinel critical bug fixed: the absolute majority was computed in a
        wrong way because of a programming error. Now the implementation does
        what the specification says and the majority to authorize a failover
        (that should not be confused with the ODOWN quorum) is the majority of
        *all* the Sentinels ever seen for a given master, regardless of their
        current state.
* [FIX] Resolved a memory leak in the hiredis library causing a memory leak
        in Redis Sentinel when a monitored instance or another Sentinel is
        unavailable. Every reconnection attempt will leak a small amount of
        memory, but in the long run the process can reach a considerable size.

* [NEW] Sentinel: ability to announce itself with an arbitrary IP/port to work
        in the context of natted networks. However this is probably still
        not enough since there is no equivalent mechanism for slaves listed
        in the master INFO output. (Dara Kong and Salvatore Sanfilippo)

</ChangeLog>
2014-10-10 21:18:00 +00:00
Sergey A. Osokin
36586af30c Attempt to fix build on 8.x. 2014-10-06 22:48:58 +00:00
Pietro Cerutti
b1be43e55a - Fix rc.d script 2014-10-03 13:27:09 +00:00
Sergey A. Osokin
6b13c621a1 Upgrade from 3.0.0-beta6 to 3.0.0-beta8.
<ChangeLog>

--[ Redis 3.0.0 Beta 8 (version 2.9.57) ] Release date: 29 jul 2014

This is the 8th beta of Redis 3.0.0.

>> General changes

* [FIX] Solaris compilation issues. (Matt Stancliff, Salvatore Sanfilippo)
* [FIX] Allow shared integer objects if maxmemory policy is not LRU based.
        (Salvatore Sanfilippo)
* [FIX] PFSELFTEST: less false positives. (Salvatore Sanfilippo)
* [FIX] Fail SYNC if background save child aborted due to a signal. (Yossi
        Gottlieb)

* [NEW] Latency framework backported from unstable branch. (Salvatore
        Sanfilippo)
* [NEW] AOF rewrite improved for latency. (Salvatore Sanfilippo)
* [NEW] Pub/Sub PING. (Salvatore Sanfilippo)
* [NEW] Much faster ZUNIONSTORE. (Kyle Hubert, Salvatore Sanfilippo)
* [NEW] Faster ll2string() implementation. (Salvatore Sanfilippo)

>> Cluster changes

* [FIX] CLUSTER RESET: Flush slave dataset on reset. (Salvatore Sanfilippo)
* [FIX] Replica migration: don't migrate to masters that never had slaves
        in the past, but only to masters that remained orphaned after
        failure events. (Salvatore Sanfilippo)

* [NEW] redis-trib: allow to reshard in non-interactive way. (Salvatore
        Sanfilippo)
* [NEW] Cluster test: unit 04, check consistency during resharding. (Salvatore
        Sanfilippo)
* [NEW] Cluster test: unit 05, slave selection. (Salvatore Sanfilippo)
* [NEW] Cluster test: unit 06, slaves with stale data can't failover. (Salvatore
        Sanfilippo)
* [NEW] Cluster test: unit 07, replicas migration. (Salvatore Sanfilippo)

>> Sentinel changes

* No Sentinel changes in this release.

--[ Redis 3.0.0 Beta 7 (version 2.9.56) ] Release date: 30 jun 2014

This is the 7th beta of Redis 3.0.0.

>> General changes

* [FIX] Scripting fixes backported from unstable, see Redis 2.8.12 changelog
        for more info. (Salvatore Sanfilippo)
* [FIX] Cancel SHUTDOWN if initial AOF is being written. (Matt Stancliff)

* [NEW] New command: COMMAND, for commands introspection (Matt Stancliff &
        Salvatore Sanfilippo)
* [NEW] hiredis: Update to latest version. (Matt Stancliff)
* [NEW] Jemalloc updated to 3.6.0. (Salvatore Sanfilippo)

>> Cluster changes

* [FIX] Cluster: clear NOADDR flag when updating node address.
        (Salvatore Sanfilippo)

* [NEW] New CLUSTER SLOTS command to simplify Cluster clients operations.
        (Matt Stancliff)
* [NEW] More Cluster tests. (Salvatore Sanfilippo)
* [NEW] Log when failover authorization are granted / denied.
        (Salvatore Sanfilippo)

>> Sentinel changes

* [FIX] A few Sentinel bugs fixed and improvements, see Redis 2.8.12
        changelog for more info.  (Salvatore Sanfilippo & Matt Stancliff)
* [NEW] New Sentinel-Client handshake protocol, ROLE command, CLIENT KILL,
        all backported to 3.0 branch. (Salvatore Sanfilippo)

</ChangeLog>
2014-09-09 22:38:00 +00:00
Baptiste Daroussin
ff06f04d62 USES=execinfo 2014-08-05 06:36:06 +00:00
Sergey A. Osokin
a5d8dc590a Upgrade from 3.0.0-beta5 to 3.0.0-beta6.
<ChangeLog>

* [FIX] Fix software watchdog signal handler crash due to re-entering.
* [FIX] Better Lua number -> string conversion for Lua scripts.
* [FIX] Serious replication bug when min-slaves-* feature is used in slaves
        configuration fixed.
* [FIX] Blocking pop on lists now works when the list is created by commands
        other than *PUSH* (for example SORT STORE).

>> Cluster changes

* [FIX] CRITICAL: For a bug in the implementation of CLUSTER SET-CONFIG-EPOCH
        introduced with beta-3 (especially beta-4 where the command
        is actually used by redis-trib), a configEpoch for a node could
        jump backward, breaking the eventual consistency property of the
        slots -> nodes mapping in the cluster.

</ChangeLog>
2014-06-20 09:12:36 +00:00
Jimmy Olgeni
76c7f8fbe6 Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. Categories D-F.

CR:		D196
Approved by:	portmgr (bapt)
2014-06-10 07:39:01 +00:00
Sergey A. Osokin
c4bf2a232e Upgrade from 3.0.0-beta2 to 3.0.0-beta5.
Fix lua/luajit-specific extra patches.
Stagefy.

<ChangeLog>

--[ Redis 3.0.0 Beta 5 (version 2.9.54) ] Release date: 26 may 2014

This is the 5th beta of Redis 3.0.0. It does not include any real
worthwhile change (just three days passed since the previous beta), but
fixes two stupid bugs preventing cluster tests to pass.

--[ Redis 3.0.0 Beta 4 (version 2.9.53) ] Release date: 23 may 2014

This is the fourth beta of Redis 3.0.0.

>> General changes

* [NEW] Scripting engine performances improvements.
* [NEW] Log format slightly changed to report current node role.

* [FIX] Correct the HyperLogLog stale cache flag to prevent unnecessary
        computation.

>> Cluster changes

* [NEW] redis-trib: ability to import data from standalone Redis instances.
* [NEW] redis-trib: "fix" subcommand much better at fixing errors.
* [NEW] CLUSTER FAILOVER FORCE implemented.
* [NEW] CLUSTER RESET implemented, it is now possible to completely reset
        nodes and create a new cluster without restarting anything.
* [NEW] Slave validity factor (max estimated data age to still failover)
        is now under the control of the user, and can be configured via
        redis.conf or CONFIG SET. Option name cluster-slave-validity-factor.
* [NEW] Cluster test: failure detection and failover initial tests.
* [NEW] CLUSTER MEET: better error messages when address is invalid.
* [NEW] Bulk-accept new Cluster nodes in the Cluster bus instead of
        performing just a single accept() per event fired.

* [FIX] Bypass data_age check for manual failovers.
* [FIX] Fixed data_age computation / check integer overflow.
* [FIX] Various fixes to Tcl client.tcl Redis Cluster client used in tests.
* [FIX] Better handling of stolen slots.
* [FIX] Don't accept cluster bus connections during startup.

>> Sentinel changes

* [NEW] Generate +config-update-from event when a new config is received.
* [NEW] Log when a failover will be re-attempted again.

* [FIX] Sentinel: Add "dir /tmp" directive in example sentinel.conf.

--[ Redis 3.0.0 Beta 3 (version 2.9.52) ] Release date: 5 may 2014

This is the third beta of Redis 3.0.0.

>> General changes

* [NEW] New data structure: the HyperLogLog (see 2.8 release notes).
* [NEW] Lexicograhical range queries in sorted sets (see 2.8 release notes).
* [NEW] LRU algorithm precision greatly improved.

* [FIX] Redis is now much more responsive to reply with LOADING / BUSY errors.

>> Cluster changes

* [NEW] Cluster testing framework and initial tests.
* [NEW] Cluster epochs collision resolution (make Redis Cluster more resilient
        to admin and programming errors).
* [NEW] Persist / fsync some global state to ensure correct crash-recovery
        semantics.
* [NEW] New command introduced: CLUSTER SET-CONFIG-EPOCH, still not used
        by redis-trib. Will be used to speedup the assignment of unique
        epochs to different nodes at cluster creation time. For now this is
        handled as a side effect of the cluster epochs collision resolution.

* [FIX] Different fixes to redis-trib cluster creation.
* [FIX] Fix an error in the CLUSTER NODES output for nodes slots.

>> Sentinel changes

* [NEW] Sentinels are now able to send update messages in a peer-to-peer
        fashion even if no Redis instances are available. Now the Sentinel
        liveness property that the most updated configuration in a given
        partition is propagated to all the Sentinels is extended to partitions
        without reachable instances.
* [NEW] Sentinel safety properties are now ensured in a crash-recovery system
        model since some state is persisted on disk before replying to other
        nodes, and reloaded at startup.
* [NEW] Sentinel now uses CLIENT SETNAME so that it is easy to identify
        Sentinels using CLIENT LIST among other clients.
* [NEW] Sentinel failure detection and reconnection code improved.

</ChangeLog>
2014-06-02 01:42:11 +00:00
Baptiste Daroussin
e836ab008a Replace lang/lua with the new lang/lua51
lang/lua51 is working the same way lang/lua52, chase ports using lua 5.1
Make the default lua lua52
Make all lua ports using USES=lua

Approved by:	portmgr (implicit)
2014-05-26 15:28:28 +00:00
Sergey A. Osokin
90a82a8785 Upgrade from 3.0.0-beta1 to 3.0.0-beta2.
Rewrite entries for pkg-plist.

<ChangeLog>

>> General

* [FIX] Sometimes the absolute config file path was obtained in a wrong way.
        This happened when there was a "dir" directive inside the config file
        and at the same time the configuration file was given as a relative
        path to redis-server or redis-sentinel executables.
* [FIX] redis-cli: Automatically enter --slave mode when SYNC or PSYNC are
        called during an interactive session.
* [FIX] BITCOUNT: fixed unaligned access causing issues in sparc and other
        archs not capable of dealing with unaligned accesses. This also makes
        the code faster in archs where unaligned accesses are allowed.
* [FIX] Force INFO used_memory_peak to match peak memory. This generated some
        confusion among users even if it was not an actual bug.
* [FIX] Fixed an critical EVALSHA script cache bug: scripts executed may not
        propagate to AOF / Slaves correctly under certain conditions.
        See issue #1549 at Github for more information.
* [FIX] Fixed multiple bugs resulting into closing the link with master or slave
        during replication without good reasons. This will result in useless
        resynchronizations, or infinite loops where the replication link can't
        be established.
* [FIX] Don't count the time needed to populate the buffers of clients waiting
        in MONITOR mode when populating the Slow Log entries.

* [NEW] Redis-cli updated to use SCAN instead of random sampling via
        RANDOMKEY in order to implement --bigkeys feature. Moreover the
        implementation now supports pipelining and reports more information
        at the end of the scan. Much faster, much better. A special thank
        you to Michael Grunder for this improvement.
* [NEW] redis-cli now supports a new --intrinsic-latency mode that is able
        to meter the latency of a system due to kernel / hypervisor.
        How to use it is explained at http://redis.io/topics/latency.
* [NEW] New command BITPOS: find first bit set or clear in a bitmap.
* [NEW] CONFIG REWRITE calls are now logged.
* [NEW] AOF write errors (like no space on device) no longer abort Redis if the
        fsync policy is none or every second. The database enters a read-only
        mode where every write is refused with an error. Normal operations are
        restored as soon as Redis is able to append again data to the AOF file.
* [NEW] Sentinel now accepts SHUTDOWN command.

>> Cluster

* [FIX] Bind the first interface listed in the "bind" configuration directive
        if any, in order to perform outgoing connections. This fixes Cluster
        usage when an address is bound but there are multiple interfaces that
        may be used to connect with other nodes.
* [FIX] When an "Importing" slot is closed via CLUSTER SETSLOT NODE ...
        increment the configEpoch in the special case it is zero.
* [FIX] Current transaction is invalidated on redirection errors.
* [FIX] Abort if port does not allow for a valid cluster bus port that is
        always at fixed +10000 offset.
* [FIX] Keys extraction algorithm fixed for ZUNIONSTORE/ZINTERSTORE and SORT.
* [FIX] Better failover timeout and retry times: failover should now work
        reliabily when node-timeout is very small (a few milliseconds).
* [FIX] Don't allow SORT GET/BY options in Cluster mode.
* [FIX] Clear importing/migrating state when turning from master to slave role.
* [FIX] Set slot error if we receive an update for a busy slot.
* [FIX] Update node configEpoch on UPDATE messages.

* [NEW] Support multi-key operations as long as keys resolve to the same
        hash slot, and the slot is not migrating, or it is migrating but all
        the mentioned keys are available.
* [NEW] New DEBUG command CMDKEYS available to debug / test keys identification
        in Redis commands.
* [NEW] redis-trib: create subcommand is now able to assign spare slaves.
* [NEW] redis-trib: new subcommand 'call'. Exec command in all nodes.

>> Sentinel

* [FIX] Sentinel "IDONTKNOW" error removed as it does not made sense with the
        new Sentinel design. This error was actually a fix for a design error
        in the first implementation of Sentinel.
* [FIX] Sentinel: added a missing exit() call to abort after config file
        checks at startup. This error was introduced with an improvement in
        a previous 2.8 release.
* [FIX] Sentinel: better nodes fail over start time desynchronization to avoid
        split-brain during the voting process needed to get authorization to
        fail over. This means the system is less likely to need to retry
        and will fail over faster. No changes in behavior / correctness.

* [NEW] Sentinel unit tests and framework. More tests needed and units must
        be improved in order to have less false positives, but it is a start
        and features a debugging console that is useful to fix tests or to
        inspect bugs causing tests failures.
* [NEW] New Sentinel events: +/-monitor and +set used to monitor when an
        instance to monitor is added or removed, or when a configuration
        is modified via SENTINEL SET.

</ChangeLog>
2014-03-23 16:51:10 +00:00
Sergey A. Osokin
278314702d Upgrade from 2.8.6 to 3.0.0-beta1.
<ChangeLog>

--[ Redis 3.0.0 Beta 1 (version 2.9.50) ] Release date: 11 Feb 2014

This is the first beta of Redis 3.0.0 (official version is 2.8.50).

The following is a list of improvements in Redis 3.0, compared to Redis 2.8.

* [NEW] Redis Cluster: a distributed implementation of a subset of Redis.
* [NEW] New "embedded string" object encoding resulting in less cache
        misses. Big speed gain under certain work loads.
* [NEW] WAIT command to block waiting for a write to be transmitted to
        the specified number of slaves.
* [NEW] MIGRATE connection caching. Much faster keys migraitons.
* [NEW] MIGARTE new options COPY and REPLACE.
* [NEW] CLIENT PAUSE command: stop processing client requests for a
        specified amount of time.

</ChangeLog>
2014-02-17 22:19:02 +00:00
Sergey A. Osokin
032742b86c Upgrade from 2.8.4 to 2.8.6.
<ChangeLog>

--[ Redis 2.8.6 ] Release date: 13 Feb 2014

# UPGRADE URGENCY: HIGH for Redis, LOW for Sentinel. Redis users using Lua
                   scripts with EVALSHA and attached slaves and/or AOF
                   persistence should consider upgrading ASAP.

* [FIX] Fixed an critical EVALSHA script cache bug: scripts executed may not
        propagate to AOF / Slaves correctly under certain conditions.
        See issue #1549 at Github for more information.
* [FIX] Fixed multiple bugs resulting into closing the link with master or slave
        during replication without good reasons. This will result in useless
        resynchronizations, or infinite loops where the replication link can't
        be established.
* [FIX] Don't count the time needed to populate the buffers of clients waiting
        in MONITOR mode when populating the Slow Log entries.

* [NEW] AOF write errors (like no space on device) no longer abort Redis if the
        fsync policy is none or every second. The database enters a read-only
        mode where every write is refused with an error. Normal operations are
        restored as soon as Redis is able to append again data to the AOF file.
* [NEW] Sentinel now accepts SHUTDOWN command.

--[ Redis 2.8.5 ] Release date: 4 Feb 2014

# UPGRADE URGENCY: HIGH for Redis, LOW for Sentinel. Redis users using Lua
                   scripts with expires, and Redis users relying on the
                   ability of Redis to block writes on RDB saving errors
                   should plan to upgrade ASAP.

* [FIX] Fixed a replication bug caused by Lua scripts + expired keys: keys could
        expire in the middle of scripts causing non-deterministic behavior.
* [FIX] MISCONFIG error if condition fixed, the server was no longer able
        to stop writes on RDB misconfiguration after this error was introduced.
* [FIX] REDIS_AOF_REWRITE_MIN_SIZE is now 64mb like example redis.conf default.
* [FIX] Perform fflush() before fsync() in rio.c (bug without actual effects).
* [FIX] Don't log MONITOR clients as disconnecting slaves.
* [FIX] SENTINEL MASTER arity check fixed. Crashed the Sentinel instance when
        the command was given without arguments.

* [NEW] Allow CONFIG and SHUTDOWN while in stale-slave state.
* [NEW] Support for configurable TCP listen(2) backlog size.
* [NEW] redis-cli supports SCAN via the --scan and --pattern options.
* [NEW] SENTINEL SET master quorum via runtime API implemented.

</ChangeLog>
2014-02-17 22:00:50 +00:00
Pietro Cerutti
a1ea653cf5 - Convert to USES=tcl gmake 2014-02-17 13:22:56 +00:00
Sergey A. Osokin
771437151f Upgrade from 2.8.3 to 2.8.4.
<ChangeLog>

# UPGRADE URGENCY: MODERATE for Redis and Sentinel.

* [FIX] Makefile compatibility with non common make variants improved.
* [FIX] SDIFF crash in very unlikely to trigger state fixed.
* [FIX] Config rewriting fixed: don't wipe options unknown to the rewrite
        process.
* [FIX] Set TCP port to 0 works again to disable TCP networking.
* [FIX] Fixed replication with old Redis instances as masters by not
        sending REPLCONF ACK to them.
* [FIX] Fix keyspace notifications rewrite and CONFIG GET output.
* [FIX] Fix RESTORE TTL handling in 32 bit systems (32 bit overflow).

* [NEW] Sentinel now has a run time configuration API.
* [NEW] Log when we lost connection with master or slave.
* [NEW] When instance is turned from slave to master now inherits the
        old master replication offset when possible. This improves the
        Sentinel failover procedure.

</ChangeLog>
2014-01-14 10:28:34 +00:00
Sergey A. Osokin
675a768c78 Upgrade from 2.8.2 to 2.8.3.
Use modern name for dependent libraries.

<ChangeLog>

# UPGRADE URGENCY: MODERATE for Redis, HIGH for Sentinel.

* [FIX] Sentinel instance role sampling fixed, the system is now more
        reliable during failover and when reconfiguring instances with
        non matching configuration.
* [FIX] Inline requests are now handled even when terminated with just LF.
* [FIX] Replication timeout handling greatly improved, now the slave is able
        to ping the master while removing the old data from memory, and while
        loading the new RDB file. This avoid false timeouts sensed by
        masters.
* [FIX] Fixed a replication bug involving 32 bit instances and big datasets
        hard to compress that resulted into more than 2GB of RDB file sent.
* [FIX] Return error for inline requests with unbalanced quotes.
* [FIX] Publish the slave replication offset even when disconnected from the
        master if there is still a cached master instance.

</ChangeLog>
2013-12-11 16:55:27 +00:00
Sergey A. Osokin
fafce49fe4 Upgrade from 2.8.1 to 2.8.2.
<ChangeLog>

# UPGRADE URGENCY: MODERATE for both Redis and Sentinel.

* [FIX] Sentinel better desynchronization to avoid split-brain elections
        where no Sentinel managed to get elected.
* [FIX] Stop accepting writes on "MISCONF" error only if master, not slave.
* [FIX] Reply to PING with an error on "MISCONF" errors.

</ChangeLog>
2013-12-03 17:04:00 +00:00
Sergey A. Osokin
c88fa9457d Upgrade from 2.8.0 to 2.8.1.
<ChangeLog>

# UPGRADE URGENCY: LOW for Redis, CRITICAL for Senitnel. You don't need to
                   upgrade your Redis instances but it is highly recommended
                   to upgrade and restart all the Sentinel processes.

* [FIX] Fixed a bug in "new Sentinel" config propagation.
* [FIX] Fixed a false positive in Redis tests.

</ChangeLog>
2013-11-28 17:56:47 +00:00
Sergey A. Osokin
ccd2577bd9 Upgrade from 2.8.0-rc6 to 2.8.0.
<ChangeLog>

# UPGRADE URGENCY: LOW, unless you want to upgrade to new Sentinel code.

* [FIX] Fixed an error in rdbWriteRaw() that should have no practical impact.
* [NEW] Log the new master when SLAVEOF command is used.
* [NEW] Sentinel code synchronized with the unstable branch, the new Sentinel
        is a reimplementation that uses more reliable algorithms.

</ChangeLog>
2013-11-23 11:02:30 +00:00
Sergey A. Osokin
63f95d150d Update from 2.8.0-rc5 to 2.8.0-rc6.
<ChangeLog>

--[ Redis 2.8 Release Candidate 5 (2.7.106) ] Release date: 6 Nov 2013

This is the 6th release candidate of Redis 2.8 (official version is 2.7.106).

# UPGRADE URGENCY: LOW, only new features back ported, no fixes.

* [NEW] SCAN, SSCAN, HSCAN, ZSCAN commands.

</ChangeLog>
2013-11-06 16:02:19 +00:00
Sergey A. Osokin
135de9985d Update from 2.8.0-rc4 to 2.8.0-rc5.
<ChangeLog>

--[ Redis 2.8 Release Candidate 5 (2.7.105) ] Release date: 9 Oct 2013

This is the 5th release candidate of Redis 2.8 (official version is 2.7.105).
Important bugs fixed inside.

# UPGRADE URGENCY: HIGH because of many non critical replication bugs fixed.

* [FIX] redis-cli: don't crash with --bigkeys when the key no longer exist.
* [FIX] Allow AUTH / PING when disconnected from slave and serve-stale-data is no.
* [FIX] PSYNC: safer handling of PSYNC requests with offsets in the future.
* [FIX] Replication: Fix master timeout detection.
* [FIX] Replication: Correctly install the write handler after successful PSYNC.

</ChangeLog>
2013-10-12 06:28:07 +00:00
Baptiste Daroussin
36117d7097 Add NO_STAGE all over the place in preparation for the staging support (cat: databases) 2013-09-20 16:13:47 +00:00
Sergey A. Osokin
c2405350bb Update from 2.8.0-rc3 to 2.8.0-rc4.
<ChangeLog>

--[ Redis 2.8 Release Candidate 4 (2.7.104) ] Release date: 30 Aug 2013

This is the fourth release candidate of Redis 2.8 (official version is 2.7.104).
Important bugs fixed inside.

# UPGRADE URGENCY: HIGH because of the EVAL memory leak.

* [FIX] Fixed a serious EVAL memory leak in the Lua stack.
* [FIX] Fixed server startup when no IPv6 address exists in any interface.
* [FIX] Send MISCONFIG error when BGSAVE fails because can't fork.
* [FIX] Memory efficiency with large (> a few kbytes) values improved considerably.
* [NEW] DEBUG SDSLEN for sds memory debugging.

</ChangeLog>
2013-08-30 14:40:18 +00:00
Sergey A. Osokin
31497a2a38 Add support for lang/lua, disabled by default.
Do not bump PORTREVISION.
2013-08-22 04:40:27 +00:00
Sergey A. Osokin
e3ced93adc Update from 2.8.0-rc2 to 2.8.0-rc3.
Disable debug flags.

<ChangeLog>

# UPGRADE URGENCY: HIGH

* [FIX] Improved expired keys collection algorithm. Even under heavy load keys
        to be expired can't accumulate because of lack of CPU time.
* [FIX] Replication speed regression fixed (issue #1238).
* [FIX] Fixed an hard to trigger PSYNC bug.
* [FIX] Fixed Issue #1240, ZUNIONSTORE could lead to wrong result.
* [NEW] Add per-db average TTL information in INFO output.
* [NEW] redis-benchmark improvements.
* [NEW] dict.c API wrong usage detection.

</ChangeLog>
2013-08-20 17:24:30 +00:00
Sergey A. Osokin
6d8f784f2c Update from 2.6.14 to 2.8.0-rc2.
Changes:	https://raw.github.com/antirez/redis/2.8/00-RELEASENOTES
2013-08-13 17:39:57 +00:00
Sergey A. Osokin
d6e138a81e Update from 2.6.13 to 2.6.14.
PR:	179745

<ChangeLog>

UPGRADE URGENCY: HIGH because of the following two issues:
    * Lua scripting + Replication + AOF in slaves problem (see Issue #1164).
    * AOF + expires possible race condition (see Issue #1079).

* [FIX] AOF bug: expire could be removed from key on AOF rewrite.
* [FIX] Allow writes from scripts called by AOF loading in read-only slaves.
* [FIX] Sentinel: parse new verison of INFO replication output correctly.
* [NEW] Reset masterauth if an empty string is configured.

</ChangeLog>
2013-06-20 15:31:30 +00:00
Sergey A. Osokin
730aef92d2 Update from 2.6.11 to 2.6.13.
PR:	178124

<ChangeLog>

[ Redis 2.6.13 ]

UPGRADE URGENCY: MODERATE, nothing very critical but upgrading
is suggested if you experienced:

1) Strange issues with Lua scripting.
2) Not reconfigured reappearing master using Sentinel.
3) Server continusly trying to save on save error.

This version of Redis may also help with AOF and slow / busy
disks and latency issues.

* [FIX] Throttle BGSAVE attempt on saving error.
* [FIX] redis-cli: raise error on bad command line switch.
* [FIX] Redis/Jemalloc Gitignore were too aggressive.
* [FIX] Test: fix RDB test checking file permissions.
* [FIX] Sentinel: always redirect on master->slave transition.
* [FIX] Lua updated to version 5.1.5. Fixes rare scripting issues.
* [NEW] AOF: improved latency figures with slow/busy disks.
* [NEW] Sentinel: turn old master into a slave when it comes back.
* [NEW] More explicit panic message on out of memory.
* [NEW] redis-cli: --latency-history mode implemented.

[ Redis 2.6.12 ]

UPGRADE URGENCY: MODERATE, nothing very critical but a few non trivial bugs.

* [BUGFIX]   redis-cli --bigkeys: don't crash with empty DB.
* [BUGFIX]   stop-writes-on-bgsave-error now works in redis.conf
* [BUGFIX]   Don't crash at startup if RDB is there but can't be opened.
* [BUGFIX]   Initial value for master_link_down_since_seconds is now huge.
* [BUGFIX]   Allow SELECT while loading the DB.
* [BUGFIX]   Don't replicate/AOF an empty MULTI/EXEC if the transaction
             is empty or containing just read-only commands.
* [BUGFIX]   EXPIRE should not be able to resurrect keys (see issue #1026).
* [IMPROVED] Extended SET back ported from Redis 2.8 / unstable
             See http://redis.io/commands/set for more information.
* [IMPROVED] Test suite improved.

</ChangeLog>
2013-05-03 17:38:24 +00:00
Sergey A. Osokin
d5fd577271 Update from 2.6.10 to 2.6.11.
<ChangeLog>

UPGRADE URGENCY: LOW, however updating is encouraged if you have many instances
                 per server and you want to lower the CPU / energy usage.

* [BUGFIX]   Replication: more strict error checking for master PING reply.
* [BUGFIX]   redis-cli: use keepalive socket option for improved reliability.
* [BUGFIX]   Allow AUTH while loading the DB in memory.
* [BUGFIX]   Don't segfault on unbalanced quotes while parsing config file.
* [IMPROVED] serverCron() frequency is now a runtime parameter (was REDIS_HZ).
* [IMPROVED] Use a lot less CPU when idle, even with many configured DBs.

</ChangeLog>
2013-03-12 18:31:48 +00:00
Sergey A. Osokin
b9fc28c52b Update from 2.6.9 to 2.6.10.
<ChangeLog>

UPGRADE URGENCY: MODERATE, this release contains many non-critical fixes
                 and many small improvements.

* [BUGFIX]   redis-cli --rdb, fixed when the server sends newlines to ping.
* [BUGFIX]   redis-cli, minor fixes on connection handling, prompt.
* [BUGFIX]   Slow log: don't log EXEC, just executed commands.
* [BUGFIX]   On failed shutdown don't try again and again compulsively.
* [BUGFIX]   Fix build on sunos without backtrace().
* [BUGFIX]   UNSUBSCRIBE and PUNSUBSCRIBE: always provide a reply (see 742e580)
* [BUGFIX]   Lua struct library was broken, upgraded.
* [BUGFIX]   Fix a bug in srandmemberWithCountCommand() with count argument.
* [BUGFIX]   Test: disable clients timeout to prevent issues on slow systems.
* [BUGFIX]   Sentinel: don't advertise the promoted slave as master too early.
* [IMPROVED] Whitelist SIGUSR1, see http://redis.io/topics/signals.
* [IMPROVED] Simpler to understand redis-cli --bigkeys output.
* [IMPROVED] Test now works with tclsh > 8.5.
* [IMPROVED] Added option to turn of the Nagle algorithm in slave socket.
* [IMPROVED] Optionally use SO_KEEPALIVE to detect dead peers.

</ChangeLog>
2013-02-11 18:38:18 +00:00
Sergey A. Osokin
bf0b08b095 Update from 2.6.8 to 2.6.9.
<ChangeLog>

UPGRADE URGENCY: MODERATE if you use replication.

* [BUGFIX]   Changing master at runtime (SLAVEOF command) in presence of
             network problems, or in very rapid succession, could result
             in non-critical problems (GitHub Issue #828).
* [IMPROVED] CLINGET GETNAME and SETNAME to set and query connection names
             reported by CLIENT LIST. Very useful for debugging of
             problems.
* [IMPROVED] redis-cli is now able to transfer an RDB file from a remote
             server to a local file using the --rdb <filename> command
             line option.

</ChangeLog>
2013-01-21 17:14:42 +00:00
Sergey A. Osokin
6b8771fe62 Update from 2.6.7 to 2.6.8.
Add experimental support for lang/luajit, disabled by default.

<ChangeLog>

UPGRADE URGENCY: MODERATE if you use Lua scripting. Otherwise LOW.

* [BUGFIX]   Multiple fixes for EVAL (issue #872).
* [BUGFIX]   Fix overflow in mstime() in redis-cli and benchmark.
* [BUGFIX]   Fix Linux / PPC64 behavior by correcting endianess detection.
* [BUGFIX]   Fix NetBSD build by defining _XOPEN_SOURCE appropriately.
* [BUGFIX]   Added missing license and copyright in a few places.
* [BUGFIX]   Better error reporting when fd event creation fails.

</ChangeLog>
2013-01-12 15:48:47 +00:00
Sergey A. Osokin
0be1cfdbe0 Update from 2.6.6 to 2.6.7.
PR:	174084

Feature safe:	yes

<ChangeLog>

UPGRADE URGENCY: MODERATE (unless you BLPOP using the same key multiple times).

* [BUGFIX]   Don't crash if BLPOP & co are called with the same key repeated
             multiple times (Issue #801).

</ChangeLog>
2012-12-04 04:30:23 +00:00
Sergey A. Osokin
1c9fd66e3f Update from 2.6.5 to 2.6.6.
Feature safe:	yes

<ChangeLog>

UPGRADE URGENCY: CRITICAL if you experienced one more more crashes.
                 MODERATE if Redis is running fine for you.

* [BUGFIX]   Jemalloc updated to 3.2.0.

</ChangeLog>
2012-11-30 12:49:00 +00:00
Sergey A. Osokin
4bae727d2a Fix pkg-plist for packages.
Feature safe: yes
2012-11-24 13:48:09 +00:00