Commit graph

60 commits

Author SHA1 Message Date
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
Sergey A. Osokin
a00ccece1b Use more canonical names for patches.
No functionaly changes.
Don't bump PORTREVISION.

Feature safe: yes
2012-11-22 18:21:12 +00:00
Sergey A. Osokin
d6bddf679e Update from 2.6.4 to 2.6.5.
Feature safe:	yes

<ChangeLog>

UPGRADE URGENCY: MODERATE

Warning: this release of Redis introduces a different behavior in MULTI/EXEC
         handling of errors. This was done because the new behavior is safer
         compared to the old one, and should not break any code targeting
         Redis 2.6 in a critical way.

         For more information check http://redis.io/topics/transactions

* [IMPROVED] RDB/AOF childern now log amount of additional memory used
             because of copy on write.
* [BUGFIX]   MIGRATE non critical fixes (see commits for details).
* [BUGFIX]   MULTI/EXEC: now EXEC aborts on errors before EXEC.
* [BUGFIX]   Fix integer overflow in zunionInterGenericCommand resulting
             into Z[INTER|UNION][STORE] commands to crash under extremely
             unlikely conditions (almost impossible in real world).
* [BUGFIX]   EVALSHA is now case insensitive (and will not crash).

</ChangeLog>
2012-11-22 18:17:03 +00:00
Sergey A. Osokin
380cc1f6a8 Update from 2.6.3 to 2.6.4.
Feature safe:	yes
2012-11-08 21:37:55 +00:00
Sergey A. Osokin
3ceaee2a0c Update from 2.6.2 to 2.6.3.
Feature safe:	yes

<ChangeLog>

* [BUGFIX]   Fixed 32 bit build on Linux systems.
* [BUGFIX]   MONITOR and CLIENT LIST: propertly display unix socket clients.
* [IMPROVED] redis-cli inline help updated.
* [IMPROVED] Marginally more robust AOF child handling.
* [IMPROVED] Fixed a few typos in comments.

</ChangeLog>
2012-11-07 11:56:05 +00:00
Sergey A. Osokin
0e8b79dc58 Update from 2.6.0 to 2.6.2.
Feature safe:	yes

<ChangeLog>

[ Redis 2.6.2 ]

* [BUGFIX]   The compilation fix for RHLE5 in 2.6.1 was broken. Fixed.
* [IMPROVED] Linenoise updated, now supports Ctrl+w.

[ Redis 2.6.1 ]

* [BUGFIX]   Compilation on Linux < 2.6.17 or glibc < 2.6 fixed (RHLE5 & co).

</ChangeLog>
2012-10-26 20:53:54 +00:00
Sergey A. Osokin
5b2b0deb9b Update from 2.6.0rc8 to 2.6.0.
Feature safe:	yes

<ChangeLog>

* [BUGFIX]   Allow AUTH when server is in -BUSY state because of a slow script.
* [BUGFIX]   MULTI/EXEC flow now makes sense when observed in MONITOR
* [BUGFIX]   SCRIPT KILL now uses different error prefixes for different errors.
* [BUGFIX]   Default memory limit for 32bit archs lowered from 3.5 to 3 GB.
* [BUGFIX]   redis-check-dump is now compatible with RDB files generated by 2.6.
* [IMPROVED] New field in INFO: slave_read_only.

</ChangeLog>
2012-10-24 17:34:54 +00:00
Sergey A. Osokin
dc4070b05d Update from 2.6.0rc7 to 2.6.0rc8.
Add TEST option for running unit tests.
Add test and regression-test targets.
Remove needless patch.
New Makefile header convention.

PR:	172396

<ChangeLog>

* [BUGFIX]   Fixed compilation on FreeBSD.
* [IMPROVED] SRANDMEMBER <count> that returns multiple random elements.
* [IMPROVED] Sentinel backported to 2.6. It will be taken in sync with 2.8.
* [IMPROVED] Helper function for scripting to return errors and status replies.
* [IMPROVED] SORT by nosort [ASC|DESC] uses sorted set elements ordering.
* [BUGFIX]   Better resistence to system clock skew.
* [IMPROVED] Warn the user when the configured maxmemory seems odd.
* [BUGFIX]   Hashing function is now murmurhash2 for security purposes.
* [IMPROVED] Install script no longer uses a template but redis.conf itself.

</ChangeLog>
2012-10-06 13:54:19 +00:00
Sergey A. Osokin
ce693ff742 Update from 2.6.0rc6 to 2.6.0rc7.
<ChangeLog>

UPGRADE URGENCY: HIGH

* [BUGFIX]   Theoretical bug in ziplist fixed.
* [BUGFIX]   Better out of memory handling (Log produced in log file).
* [BUGFIX]   Incrementally flush RDB file on slave side while performing the
             first synchronization with the master. This makes Redis less
             blocking in environments where disk I/O is slow.
* [BUGFIX]   Don't crash with Lua's redis.call() without arguments.
* [BUGFIX]   Don't crash after a big number of Lua calls on 32 bit systems
             because of a failed assertion.
* [BUGFIX]   Fix SORT behaviour when called from scripting.
* [BUGFIX]   Adjust slave PING period accordingly to REDIS_HZ define.
* [BUGFIX]   BITCOUNT: fix crash on overflowing arguments.
* [BUGFIX]   Return an error when SELECT argument is not an integer.
* [BUGFIX]   Blocking operations on lists were completely reimplemented for
             correctness. Now blocking list ops and pushes originated from
             Lua scripts will play well together and will be replicated
             and transmitted to the AOF correctly.
* [IMPROVED] Send async PING before starting replication to avoid blocking if
             master allows us to connect but it is actually not able to reply.
* [IMPROVED] Support slave-priority for Redis Sentinel.
* [IMPROVED] Hiredis library updated.

</ChangeLog>
2012-09-19 18:20:19 +00:00
Sergey A. Osokin
9c8300f8e9 Fix whitespaces, remove needless double quotes. 2012-08-03 04:24:58 +00:00
Sergey A. Osokin
ff4dae1bea Add license. 2012-08-03 04:21:19 +00:00
Sergey A. Osokin
522fb4b9b5 Update from 2.6.0-rc5 to 2.6.0-rc6. 2012-08-02 19:07:27 +00:00
Sergey A. Osokin
a51ff92421 Remove databases/redis-scripting, use databases/redis-devel instead.
Update CONFLICTS for databases/redis and databases/redis-devel.
2012-07-19 17:29:30 +00:00
Sergey A. Osokin
d86d6da5b7 Remove needless file. 2012-07-17 18:30:38 +00:00
Sergey A. Osokin
a8604ad15f Readding the removed port redis-devel.
Update to the latest development version 2.6.0-rc5.
2012-07-17 18:23:25 +00:00
Sergey A. Osokin
0fcdb3915b Remove databases/redis-devel after merge to databases/redis. 2010-09-20 18:19:42 +00:00
Sergey A. Osokin
c4cc99c3ca Update from 2.0.0 to 2.0.1.
<ChangeLog>

- Fixed a not critical but important VM bug: from time to time a race
  condition may happen and a client may never get the reply from a given
  request.

- Now we have a make install target as stated in the README.

- redis-cli no longer tries to understand if it's part of a pipe
  so there is to use the -x option to read the last arg from stdin.
  This prevents it from creating problem when running inside cron scripts.

- Fixed the init script provided in the tar.gz. It was totally broken.

- Fixed a bug related to connecting more than 10k clients to Redis.

</ChangeLog>
2010-09-10 05:59:21 +00:00
Sergey A. Osokin
cbb98ca160 Welcome to redis 2.0.0!
ChangeLog: http://code.google.com/p/redis/wiki/Redis_2_0_0_Changelog
2010-09-03 16:44:06 +00:00
Sergey A. Osokin
c345e328fb Update from 1.2.6 to latest development version 2.0.0rc4 after repocopy.
Add CONFLICTS.
Add the note in UPDATING about configuration file changes.
2010-08-15 09:18:07 +00:00
Sergey A. Osokin
13d63ef667 Update from 1.2.5 to 1.2.6.
<ChangeLog>

Redis 1.2.6 fixes two critical replication bugs, and a few
improvements.

- Fixed Issue 207 (http://code.google.com/p/redis/issues/detail?id=207)
  (broken replication with binary arguments not in the last position
  with the MSET command or any other command issued with new
  multi-bulk protocol).

- Fixed Issue 174 (http://code.google.com/p/redis/issues/detail?id=174)
  (temp names collisions producing broken slave-side .rdb files).

- Redis-cli backported from Redis master, with interactive mode, line
  editing via the linenoise library, auth ability, and much more.

- ZRANGEBYSCORE now supports WITHSCORES as well (backported from
  master).

- A simplified version of redis-stat (from redis tools) added.

</ChangeLog>
2010-04-01 06:50:33 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00