Commit graph

109 commits

Author SHA1 Message Date
Sergey A. Osokin
debdd412f7 Add a workaround for solarisfixes.h header file.
Bump PORTREVISIONs.
2018-04-17 23:05:16 +00:00
Sergey A. Osokin
da203c2a58 Upgrade to recent stable version - 4.0.9.
Update CONFLICTS record.
2018-04-16 23:12:45 +00:00
Sergey A. Osokin
db15e79842 Upgrade from 4.0.8 to 4.0.9.
Redis version 4.0.9 adds a few interesting new features and fixes a very
critical bug regarding the Append Only File.

ChangeLog:	https://github.com/antirez/redis/blob/4.0/00-RELEASENOTES
2018-04-16 23:08:23 +00:00
Gerald Pfeifer
c2a92a1aea Bump PORTREVISIONs of all users of math/mpc that we just updated to
version 1.1.0 (via revision 464079).
2018-03-10 17:46:04 +00:00
Sergey A. Osokin
6593ad4c5a Upgrade from 4.0.7 to 4.0.8.
<ChangeLog>

Upgrade urgency CRITICAL ONLY for Redis Cluster users. Otherwise no reason
to upgrade at all.

Redis 4.0.8 fixes a single critical bug in the radix tree data structure
used for Redis Cluster keys slot tracking. The problem was actually fixed
10 months ago into unstable, but it was fixed in a commit related to Streams
so it was never backported (for error) into the 4.0 branch.

The problem will crash Redis Cluster instances during deletions, but it is
very hard to trigger: only when the node removed is in the edge of a memory
mapped area there are the conditions to create an issue, because otherwise
the code just accesses an out of range word in read-only way in an allocated
structure: this is almost always harmless.

</ChangeLog>
2018-02-04 16:27:39 +00:00
Sergey A. Osokin
49502085dc Upgrade from 4.0.6 to 4.0.7.
<ChangeLog>

* Many 32 bit overflows were addressed in order to allow to use Redis with
  a very significant amount of data, memory size permitting. (zhaozhao.zz,
  Oran Agra)

* MEMORY USAGE fixed for the list type. (gnuhpc)

* Allow read-only scripts in Redis Cluster. (Salvatore Sanfilippo)

* Fix AOF pipes setup in edge case. (heqin)

* AUTH option for MIGRATE. (AlexStocks, Salvatore Sanfilippo, Fabio Nicotra)

* HyperLogLogs are no longer converted from sparse to dense in order
  to be merged. (Salvatore Sanfilippo)

* Fix AOF rewrite dead loop under edge cases. (heqin)

* Fix processing of large bulk strings (>= 2GB). (Oran Agra)

* Added RM_UnlinkKey in modules API. (Dvir Volk)

* Fix Redis Cluster crashes when certain commands with a variable number
  of arguments are called in an improper way. (Salvatore Sanfilippo)

* Fix memory leak in lazyfree engine. (zhaozhao.zz)

* Fix many potentially successful partial synchronizations that end
  doing a full SYNC, because of a bug destroying the replication
  backlog on the slave. So after a failover the slave was often not able
  to PSYNC with masters, and a full SYNC was triggered. The bug only
  happened after 1 hour of uptime so escaped the unit tests. (Oran Agra)

* Improve anti-affinity in master/slave allocation for Redis Cluster
  when the cluster is created. (Salvatore Sanfilippo)

* Improve output buffer handling for slaves, by not limiting the amount
  of writes a slave could receive. (Guy Benoish)

</ChangeLog>
2018-01-25 22:59:19 +00:00
Adam Weinberger
e0a2f9063c There is no USES=gcc
Pointy hat to:	osa
2018-01-10 03:24:40 +00:00
Sergey A. Osokin
9b5d6eedde A customer reported privately it's possible to build the package with
gcc on i386 platform, so it looks like it's a bug with clang 4 on i386.

Do not bump PORTREVISION cause package for i386 never been built.

Reference:	https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216745
2018-01-09 23:07:33 +00:00
Sergey A. Osokin
9be5075932 Upgrade from 4.0.2 to 4.0.6.
ChangeLog:	https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES
2017-12-05 03:26:36 +00:00
Sergey A. Osokin
5890db1b32 Upgrade to 4.0.2.
ChangeLog:	https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES
2017-09-23 20:26:44 +00:00
Antoine Brodin
59c93b3baf Partially revert r450351 and unbreak
Reported by:	pkg-fallout
With hat:	portmgr
2017-09-23 18:26:44 +00:00
Mathieu Arnold
cb9a2b582c Cleanup after removal of libexecinfo from ports.
PR:		220271
Submitted by:	mat (review), Yasuhiro KIMURA (PR)
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D11488
2017-09-22 10:48:57 +00:00
Mathieu Arnold
3fcd0e41de Remove USES=execinfo.
PR:		220271
Submitted by:	mat (review), Yasuhiro KIMURA (PR)
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D11488
2017-09-22 10:48:28 +00:00
Antoine Brodin
d3cda4fcb6 redis-devel fails to build on 11.0 i386 and head i386 too
Reported by:	pkg-fallout
2017-09-02 11:58:14 +00:00
Mathieu Arnold
04e1b6fad4 Mark BROKEN on 10/i386.
networking.o: In function `createClient':
networking.c:(.text+0x189): undefined reference to `__atomic_fetch_add_8'
cc: error: linker command failed with exit code 1 (use -v to see invocation)

Sponsored by:	Absolight
2017-08-28 12:57:31 +00:00
Sergey A. Osokin
9f3f9c6cbf Attempt to fix the issue for 10.x, 11.x and head on i386.
networking.o: In function `createClient':
networking.c:(.text+0x189): undefined reference to `__atomic_fetch_add_8'
cc: error: linker command failed with exit code 1 (use -v to see invocation)

Do not bump PORTREVISION since this change affects i386 only what's broken till now.
2017-08-21 20:06:35 +00:00
Mathieu Arnold
b47ad5604b Fails to build on 10 i386:
networking.o: In function `createClient':
networking.c:(.text+0x189): undefined reference to `__atomic_fetch_add_8'
cc: error: linker command failed with exit code 1 (use -v to see invocation)

Sponsored by:	Absolight
2017-08-08 15:51:38 +00:00
Sergey A. Osokin
d324e92630 Upgrade to the latest stable release - 4.0.1.
ChangeLog:	https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES
2017-08-06 15:00:05 +00:00
Mathieu Arnold
99761d7f4c Convert every usage of https://github.com/.../archive/xxx to USE_GITHUB.
While there, fix small style issues.

Sponsored by:	Absolight
2017-06-06 16:18:16 +00:00
Sergey A. Osokin
7411659448 Upgrade from 4.0-rc2 to 4.0-rc3. 2017-05-06 18:03:15 +00:00
Sergey A. Osokin
6a5d953b06 Upgrade from 4.0-rc1 to 4.0-rc2.
<ChangeLog>

Upgrade urgency LOW: This release mainly fixes a rare GEO API bug and a crash
                     related to the modules subsystem.

Redis 4.0.0-RC2 (version number 3.9.102) just fixes two bugs:

1. GEORADIUS could fail reporting items with very big radius lengths because
   of a bug in the bounding box computation function. This was fixed and tests
   with large radius sizes were added.

2. There was a crash in the modules subsystem that was not merged into RC1 for
   an error, while it was already fixed into the "unstable" branch.

</ChangeLog>
2016-12-06 23:45:28 +00:00
Sergey A. Osokin
fcb914f56c Upgrade from 3.2.5 to 4.0-rc1.
ChangeLog:	https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES
2016-12-06 01:38:31 +00:00
Sergey A. Osokin
6a2e0eba32 Upgrade from 3.2.4 to 3.2.5.
<ChangeLog>

Upgrade urgency LOW: This release only fixes a compilation issue due to the
                     missing -ldl at linking time.

zach shipko in commit 4736407:
 BSDs don't have -ldl
 1 file changed, 15 insertions(+), 5 deletions(-)

antirez in commit 9ada818:
 Fix modules compilation when libc malloc is used.
 1 file changed, 2 insertions(+), 2 deletions(-)

</ChangeLog>
2016-12-05 00:46:15 +00:00
Sergey A. Osokin
a904110a38 Upgrade from 3.2.3 to 3.2.4.
ChangeLog:	https://raw.githubusercontent.com/antirez/redis/3.2/00-RELEASENOTES
2016-09-27 23:09:25 +00:00
Sergey A. Osokin
20fc51a5c2 Remove needless code, no functional change. 2016-08-07 23:40:46 +00:00
Sergey A. Osokin
f3d2812cfb Upgrade from 3.2.1 to 3.2.3.
ChageLog: https://raw.githubusercontent.com/antirez/redis/3.2/00-RELEASENOTES
2016-08-07 23:18:05 +00:00
Sergey A. Osokin
5bae44dae0 Upgrade from 3.2.0 to 3.2.1.
Upgrade urgency HIGH: Critical fix to Redis Sentinel, due to
3.2.0 regression compared to 3.0.

ChangeLog:	https://raw.githubusercontent.com/antirez/redis/3.2/00-RELEASENOTES
2016-06-18 16:03:17 +00:00
Sergey A. Osokin
79e8b3d3f6 Upgrade to the latest release - 3.2.0. 2016-05-11 23:35:57 +00:00
Mathieu Arnold
4e1b79a0a6 Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:00:51 +00:00
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