aboutsummaryrefslogtreecommitdiff
path: root/databases/redis
Commit message (Collapse)AuthorAgeFilesLines
...
* Upgrade from 3.0.0 to 3.0.1.Sergey A. Osokin2015-05-062-3/+3
| | | | | | | | | | | | | | | | | | <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> Notes: svn path=/head/; revision=385498
* Upgrade from 2.8.19 to 3.0.0.Sergey A. Osokin2015-04-079-49/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge all changes from databases/redis-devel to databases/redis. <ChangeLog> Redis 3.0 release notes ======================= --[ Redis 3.0.0 ] Release date: 1 Apr 2015 >> What's new in Redis 3.0 compared to Redis 2.8? * Redis Cluster: a distributed implementation of a subset of Redis. * New "embedded string" object encoding resulting in less cache misses. Big speed gain under certain work loads. * AOF child -> parent final data transmission to minimize latency due to "last write" during AOF rewrites. * Much improved LRU approximation algorithm for keys eviction. * WAIT command to block waiting for a write to be transmitted to the specified number of slaves. * MIGRATE connection caching. Much faster keys migraitons. * MIGARTE new options COPY and REPLACE. * CLIENT PAUSE command: stop processing client requests for a specified amount of time. * BITCOUNT performance improvements. * CONFIG SET accepts memory values in different units (for example you can use "CONFIG SET maxmemory 1gb"). * Redis log format slightly changed reporting in each line the role of the instance (master/slave) or if it's a saving child log. * INCR performance improvements. >> Refactoring changes (no new features nor bug fixes) * Blocking operations full refactoring (blocked.c) * Client output buffer memory tracking refactored. </ChangeLog> Notes: svn path=/head/; revision=383546
* databases category: Remove $PTHREAD_LIBSJohn Marino2015-03-251-1/+1
| | | | | | | | | Note: virtuoso did not pass check-plist from before, so it was fixed. approved by: PTHREAD blanket Notes: svn path=/head/; revision=382201
* Upgrade from 2.8.18 to 2.8.19.Sergey A. Osokin2015-01-032-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> --[ Redis 2.8.19 ] Release date: 16 Dec 2014 # UPGRADE URGENCY: LOW for both Redis and Sentinel. This release mostly fixes small issues. 02d465c Don't log admin commands in MONITOR. (antirez) 4d8f426 List of commands flagged as admin commands modified. (antirez) e47e460 Lua cmsgpack lib updated to latest version. (antirez) 5509c14 Add symlink to redis-sentinel during make install (Rhommel Lamas) 7de1ef7 SORT: Don't sort Set elements if not needed. (antirez) e945a54 Fix zero-ordering SORT when called against lists (Matt Stancliff) d81c383 Update redis_init_script.tpl (Ben Dowling) dba57ea FIXED redis-benchmark's idle mode.With idle mode shouldn't create write event (zhanghailei) 888ea17 zipmap.c: update comments above (Sun He) 86ebc13 replaced // comments #2150 (Deepak Verma) 3d73f08 redis-benchmark AUTH command to be discarded after the first send #2150 (azure provisioned user) 76d53a6 sds.c: Correct two spelling mistakes in comments (Sun He) 4848cf9 sds.c/sdscatvprintf: set va_end to finish va_list cpy (Sun He) d2f584f sds.c: Correct some comments (Sun He) 2ed3f09 Update whatisdoing.sh (Serghei Iakovlev) 77b997d Include stropts only if __sun is defined. (antirez) d409371 Fix implicit declaration of ioctl on Solaris (Jan-Erik Rediger) 23b96c0 Silence _BSD_SOURCE warnings in glibc 2.20 and forward (Johan Bergström) a47a042 Mark whatisdoing.sh as deprecated in top-comment. (antirez) b5737d2 getting pid fixes (Serghei Iakovlev) a598e08 sparkline.c: AddSample skip Empty label (Sun He) 7d480ab sparkline.c: mov label-ini into the AddSample Function (Sun He) 2f3c860 Only ignore sigpipe in interactive mode (Jan-Erik Rediger) 0c211a1 Simplify lua_cmsgpack macro and fix build on old Linux distros. (antirez) </ChangeLog> Notes: svn path=/head/; revision=376168
* Upgrade from 2.8.17 to 2.8.18.Sergey A. Osokin2014-12-126-8/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> --[ Redis 2.8.18 ] Release date: 4 Dec 2014 # UPGRADE URGENCY: LOW for both Redis and Sentinel. This release mostly adds new features to Redis, and contains non critical fixes. * [FIX] Linenoise updated to be more VT100 compatible. (Salvatore Sanfilippo) * [FIX] A number of typos fixed inside comments. (Various authors) * [FIX] redis-cli no longer quits after long timeouts. (Matt Stancliff) * [FIX] Test framework improved to detect never terminating scripts, cleanup instances on crashes. (Salvatore Sanfilippo) * [FIX] PFCOUNT can be used on slaves now. (Salvatore Sanfilippo) * [FIX] ZSCAN no longer report very small scores as 0. (Matt Stancliff, Michael Grunder, Salvatore Sanfilippo) * [FIX] Don't show the ASCII logo if syslog is enabled. Redis is now an Enterprise Grade product. (Salvatore Sanfilippo) * [NEW] EXPERIMENTAL: Diskless replication, for more info check the doc at http://redis.io/topics/replication. (Salvatore Sanfilippo). * [NEW] Transparent Huge Pages detection and reporting in logs and LATENCY DOCTOR output. (Salvatore Sanfilippo) * [NEW] Many Lua scripting enhancements: Bitops API, cjson upgrade and tests, cmsgpack upgrade. (Matt Stancliff) * [NEW] Total and instantaneous Network bandwidth tracking in INFO. * [NEW] DEBUG POPULATE two args form implemented (old form still works). The second argument is the key prefix. Default is "key:" (Salvatore Sanfilippo) * [NEW] Check that tcp-backlog is matched by /proc/sys/net/core/somaxconn, and warn about it if not. (Salvatore Sanfilippo) </ChangeLog> Notes: svn path=/head/; revision=374568
* Cleanup plistBaptiste Daroussin2014-10-202-15/+8
| | | | Notes: svn path=/head/; revision=371255
* Upgrade from 2.8.15 to 2.8.17.Sergey A. Osokin2014-09-212-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> --[ Redis 2.8.17 ] Release date: 19 Sep 2014 # UPGRADE URGENCY: HIGH for Redis Sentinel. LOW for Redis Server (unmodified compared to 2.8.16). * [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. --[ Redis 2.8.16 ] Release date: 16 Sep 2014 # UPGRADE URGENCY: HIGH for Redis if you are using 2.8.15 + AOF. LOW for Sentinel. * [FIX] The ability to load truncated AOF files introduced with Redis 2.8.15 contains a bug fixed in this release: after loading the file was not truncated to the last valid command, so the new commands are appended after a non well formed command. This means that: 1) The first AOF rewrite triggered by the server will automatically fix the problem. 2) However, if the server is restarted before the rewrite, Redis may not be able to load the file and you need to manually fix it. In order to fix a corrupted file you should start the redis-check-aof utility WITHOUT the --fix option, just to check the offset where the corruption is found. Around the offset reported by the check utility you'll find, inside your AOF file, a command which is not complete according to the Redis protocol. Just remove this incomplete command leafing the file unaltered before and after the offending command, and restart the server. IMPORTANT #1: Redis 2.8.15 is the only stable version of Redis with this bug so probably no actual real-world problem happened since the problem is automatically fixed at the first automatic AOF rewrite. IMPORTANT #2: Before upgrading to Redis 2.8.16, if you are using Redis 2.8.15 with AOF enabled, make sure to trigger a manual AOF rewrite using the BGREWRITEAOF command. * [FIX] SAVE is no longer propagated to AOF / slaves. </ChangeLog> Notes: svn path=/head/; revision=368794
* - Fix build on 8.x which does not have TCP_KEEPIDLEBryan Drewery2014-09-171-0/+12
| | | | | | | Approved by: maintainer Notes: svn path=/head/; revision=368392
* Upgrade from 2.8.14 to 2.8.15.Sergey A. Osokin2014-09-162-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> --[ Redis 2.8.15 ] Release date: 12 Sep 2014 # UPGRADE URGENCY: LOW for Redis, HIGH for Sentinel. * [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] 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] 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> Notes: svn path=/head/; revision=368298
* Upgrade from 2.8.11 to 2.8.14.Sergey A. Osokin2014-09-097-44/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> --[ Redis 2.8.14 ] Release date: 1 Sep 2014 # UPGRADE URGENCY: HIGH for Lua scripting users, the server could crash because of a bug introduced in Redis 2.8.10, otherwise LOW. LOW for Redis Sentinel. * [FIX] Don't prevent use of shared integers if maxmemory policy is non-LRU. (Salvatore Sanfilippo) * [FIX] Fail SYNC if background save child aborted due to a signal. (Yossi Gottlieb) * [FIX] Different small redis-cli fixes. (Dov Murik, Charsyam, cubicdaiya, Kashif Rasul, Jan-Erik Rediger, Matt Stancliff) * [FIX] AIX compilation fixes. (Siah Lyimo) * [FIX] A number of other smaller issues. * [FIX] Improved SIGINT handling (Matt Stancliff, Salvatore Sanfilippo) * [FIX] Use unsigned types in SDS header to raise limit to 4GB. (Matt Stancliff, Salvatore Sanfilippo) * [FIX] Handle signed/unsigned comparisons with more care around the code. (Salvatore Sanfilippo) * [FIX] Colorized test output fixed to don't change the background color. (Mariano Pérez Rodríguez) * [FIX] More Sentinel IPv6 fixes. (Eiichi Sato) * [FIX] Deny CLIENT command in scripts. (Matt Stancliff) * [FIX] Allow datasets with more than 2 billion of keys, initial work. * [FIX] Fix a Lua scripting crash by storing the length of the static argv when first allocated. (Paddy Byers) * [NEW] Pub/Sub PING. (Salvatore Sanfilippo) * [NEW] Much faster ZUNIONSTORE. (Kyle Hubert, Salvatore Sanfilippo) * [NEW] Faster ll2string() implementation. (Salvatore Sanfilippo) * [NEW] **WARNING, minor API change**: PUBSUB NUMSUB: return type modified to integer. (Matt Stancliff) * [NEW] redis-benchmark support for AUTH. (CharSyam) --[ Redis 2.8.13 ] Release date: 14 Jul 2014 # UPGRADE URGENCY: LOW for Redis and Sentinel, this is a features enhancement release mostly. Since this release introduces the latency monitoring feature, Redis 2.8 users experiencing latency issues are strongly encouraged to upgrade. * [FIX] CLIENT KILL minor backward compatibility fixes. (Salvatore Sanfilippo) * [FIX] Enable HAVE_ATOMIC for PowerPC. (Matt Stancliff) * [FIX] More robust PSYNC and AOF rewrites tests. (Salvatore Sanfilippo) * [FIX] Solaris build fixed. (Matt Stancliff, Salvatore Sanfilippo) * [NEW] The new latency monitoring feature, as documented at http://redis.io/topics/latency-monitor (Salvatore Sanfilippo) * [NEW] The COMMAND command, exposing the Redis command table as an API. (Matt Stancliff) * [NEW] Update used memory with C11 __atomic. (Matt Stancliff) --[ Redis 2.8.12 ] Release date: 23 Jun 2014 # UPGRADE URGENCY: HIGH for Redis, CRITICAL for Sentinel. # WARNING: This release contains a non backward compatible semantical change to Lua script that should affect an almost zero number of users. * [FIX / BREAKS BACKWARD COMPATIBILITY] Using SELECT inside Lua scripts no longer makes the selected DB to be set in the calling client. So Lua can still use SELECT, but the client calling the script will remain set to the original DB. Thix fixes an issue with Redis replication of Lua scripts that called SELECT without reverting the selected DB to the original one. (Salvatore Sanfilippo) * [FIX] Sentinel failover was instalbe if the master was detected as available during the failover (especially during manual failovers) because of an implementation error (lack of checking of SRI_PROMOTED flag). (Salvatore Sanfilippo) * [FIX] Cancel SHUTDOWN if initial AOF is being written. (Matt Stancliff) * [FIX] Sentinel: bind source address for outcoming connections. (Matt Stancliff). * [FIX] Less timing sensitive Sentinel tests. (Salvatore Sanfilippo). * [NEW] redis-cli --intrinsic-latency stopped with SIGINT still reports stats (Matt Stancliff) * [NEW] Sentinels broadcast an HELLO message ASAP after a failover in order to reach a consistent state faster (before it relied for periodic HELLO messages). (Salvatore Sanfilippo). * [NEW] Jemalloc updated to 3.6.0. (Salvatore Sanfilippo) * [NEW] CLIENT LIST speedup. (Salvatore Sanfilippo) * [NEW] CLIENT LIST new unique incremental ID to every client. (Salvatore Sanfilippo) * [NEW] ROLE command added. (Salvatore Sanfilippo) * [NEW] CLIENT KILL new form to kill by client type and ID (see doc at redis.io for more info). (Salvatore Sanfilippo) * [NEW] Sentinel now disconnects clients when instances are reconfigured (see http://redis.io/topics/sentinel-clients). (Salvatore Sanfilippo) * [NEW] Hiredis update to latest version. (Matt Stancliff) </ChangeLog> Notes: svn path=/head/; revision=367786
* USES=execinfoBaptiste Daroussin2014-08-051-1/+1
| | | | Notes: svn path=/head/; revision=364076
* Upgrade from 2.8.9 to 2.8.11.Sergey A. Osokin2014-06-202-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> --[ Redis 2.8.11 ] Release date: 11 Jun 2014 # UPGRADE URGENCY: HIGH if you use Lua scripting, LOW otherwise. * [FIX] A previous fix for Lua -> Redis numerical precision enhancement introduced a new problem. In Redis 2.8.10 commands called from Lua passing a string that "looks like" a very large number, may actually use as argument the string converted as a float. This bug is now fixed. * [FIX] Now commands other than *PUSH* adding elements to a list will be able to awake clients blocked in a blocking POP operation. * [FIX] Cygwin compilation fixes. --[ Redis 2.8.10 ] Release date: 5 Jun 2014 # UPGRADE URGENCY: HIGH if you use min-slaves-to-write option. * [FIX] IMPORTANT! A min-slaves-to-write option active in a slave totally prevented the slave from acception the master stream of commands. This release includes testes for min-slaves-to-write, and a fix for this issue. * [FIX] Sometimes DEL returned 1 for already expired keys. Fixed. * [FIX] Fix test false positive because new osx 'leaks' output. * [FIX] PFCOUNT HLL cache invalidation fixed: no wrong value was reported but the cache was not used at all, leading to lower performances. * [FIX] Accept(2) multiple clients per readable-event invocation, and better processing of I/O while loading or busy running a timedout script. Basically now the LOADING / BUSY errors are reported at a decent speed. * [FIX] A softwaer watchdog crash fixed. * [FIX] Fixed a Lua -> Redis numerical precision loss. * [NEW] Lua scripting engine speed improved. * [NEW] Sentinel generates one new event for humans to understand better what is happening during a failover: +config-update-from. Also the time at which a failover will be re-attempted is logged. </ChangeLog> Notes: svn path=/head/; revision=358534
* Remove indefinite articles and trailing periods from COMMENT, plusJimmy Olgeni2014-06-101-1/+1
| | | | | | | | | | minor COMMENT typos and surrounding whitespace fixes. Categories D-F. CR: D196 Approved by: portmgr (bapt) Notes: svn path=/head/; revision=357277
* Convert one more port to USES=luaBaptiste Daroussin2014-05-261-1/+1
| | | | Notes: svn path=/head/; revision=355391
* Upgrade from 2.8.8 to 2.8.9.Sergey A. Osokin2014-05-142-3/+3
| | | | | | | | | | | | | | | | | <ChangeLog> # UPGRADE URGENCY: LOW, only new features introduced, no bugs fixed. * [NEW] The HyperLogLog data structure. You can read more about it in this blog post. http://antirez.com/news/75 * [NEW] The Sorted Set data type has now support for lexicographic range queries, check the new commands ZRANGEBYLEX, ZLEXCOUNT and ZREMRANGEBYLEX, which are documented at http://redis.io. </ChangeLog> Notes: svn path=/head/; revision=354014
* Update from 2.8.7 to 2.8.8.Sergey A. Osokin2014-03-313-6/+5
| | | | | | | Update pkg-plist to be more convenient with pkgng(1). Notes: svn path=/head/; revision=349806
* Make configuration file path configurable in rc.conf. [1]Matthias Andree2014-03-132-14/+9
| | | | | | | | | | | | Convert to stage support. State which BSD license is meant. [2] PR: ports/181201 [1] Submitted by: Daniel Ylitalo <daniel@blodan.se> [1] Approved by: maintainer timeout (osa, 6 months) [1] Approved by: portmgr (blanket) [2] Notes: svn path=/head/; revision=348126
* Upgrade from 2.8.6 to 2.8.7.Sergey A. Osokin2014-03-062-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> # UPGRADE URGENCY: LOW for Redis, LOW for Sentinel. However this release adds new features so users may want to upgrade in order to exploit the new functionalities. * [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] 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] 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] 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. * [FIX] Force INFO used_memory_peak to match peak memory. This generated some confusion among users even if it was not an actual bug. * [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. * [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. </ChangeLog> Notes: svn path=/head/; revision=347159
* Upgrade from 2.8.4 to 2.8.6.Sergey A. Osokin2014-02-172-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <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> Notes: svn path=/head/; revision=344825
* - Convert to USES+=tcl gmakePietro Cerutti2014-02-171-2/+2
| | | | Notes: svn path=/head/; revision=344738
* Upgrade from 2.8.3 to 2.8.4.Sergey A. Osokin2014-01-143-13/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | <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> Notes: svn path=/head/; revision=339674
* Upgrade from 2.8.2 to 2.8.3.Sergey A. Osokin2013-12-112-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=336182
* Upgrade from 2.8.1 to 2.8.2.Sergey A. Osokin2013-12-032-3/+3
| | | | | | | | | | | | | | | | <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> Notes: svn path=/head/; revision=335580
* Upgrade from 2.8.0 to 2.8.1.Sergey A. Osokin2013-11-282-3/+3
| | | | | | | | | | | | | | | | <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> Notes: svn path=/head/; revision=335117
* Upgrade from 2.6.16 to 2.8.0.Sergey A. Osokin2013-11-287-79/+88
| | | | | | | Changelist: https://raw.github.com/antirez/redis/2.8/00-RELEASENOTES Notes: svn path=/head/; revision=335116
* Add NO_STAGE all over the place in preparation for the staging support (cat: ↵Baptiste Daroussin2013-09-201-0/+1
| | | | | | | databases) Notes: svn path=/head/; revision=327717
* Upgrade from 2.6.15 to 2.6.16.Sergey A. Osokin2013-08-292-3/+3
| | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> UPGRADE URGENCY: MODERATE. * [FIX] Stop writes when fork() fails when trying to BGSAVE. BGSAVE errors were trapped only in the case the saving child failed, so the fork() error was no trapped as no child is created at all. * [FIX] Fix a serious memory efficiency regression, Redis 2.6.16 is significantly better with large values (>= a few kbytes) and will be able to store two times the amount of data compared to Redis 2.6.15 when values are in that range. * [FIX] Fixed an issue with Table conversion in the lua-cmsgpack library exposed by the Redis scripting engine. * [NEW] DEBUG SDSLEN was introduced to debug memory inefficiencies due to SDS allocation more easily. </ChangeLog> Notes: svn path=/head/; revision=325618
* Upgrade from 2.6.14 to 2.6.15.Sergey A. Osokin2013-08-214-7/+65
| | | | | | | | | | | | | | | | | | | | | | | | | Add support for lang/lua, disabled by default. <ChangeLog> UPGRADE URGENCY: MODERATE, upgrade ASAP only if you experience issues related to the expired keys collection algorithm, or if you use the ZUNIONSTORE command. * [FIX] Improved expired keys collection algorithm. Even under heavy load keys to be expired can't accumulate because of lack of CPU time. * [FIX] Fixed Issue #1240, ZUNIONSTORE could lead to wrong result. * [NEW] redis-benchmark improvements. * [NEW] dict.c API wrong usage detection. WARNING: redis-benchmark released with 2.6.15 features non backward compatible change in the way the random arguments are specified, use the --help option for more information. </ChangeLog> Notes: svn path=/head/; revision=325164
* Update from 2.6.13 to 2.6.14.Sergey A. Osokin2013-06-202-3/+3
| | | | | | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=321393
* Update from 2.6.11 to 2.6.13.Sergey A. Osokin2013-05-032-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=317224
* Update from 2.6.10 to 2.6.11.Sergey A. Osokin2013-03-123-7/+7
| | | | | | | | | | | | | | | | | | | <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> Notes: svn path=/head/; revision=313995
* Update from 2.6.9 to 2.6.10.Sergey A. Osokin2013-02-113-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | <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> Notes: svn path=/head/; revision=312071
* Update from 2.6.8 to 2.6.9.Sergey A. Osokin2013-01-212-3/+3
| | | | | | | | | | | | | | | | | | | | | <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> Notes: svn path=/head/; revision=310775
* Update from 2.6.7 to 2.6.8.Sergey A. Osokin2013-01-123-4/+64
| | | | | | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=310279
* Update from 2.6.6 to 2.6.7.Sergey A. Osokin2012-12-042-3/+3
| | | | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=308186
* Update from 2.6.5 to 2.6.6.Sergey A. Osokin2012-11-302-4/+3
| | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=308005
* Fix pkg-plist for packages.Sergey A. Osokin2012-11-242-1/+4
| | | | | | | Feature safe: yes Notes: svn path=/head/; revision=307717
* Use more canonical names for patches.Sergey A. Osokin2012-11-225-0/+0
| | | | | | | | | | No functionaly changes. Don't bump PORTREVISION. Feature safe: yes Notes: svn path=/head/; revision=307662
* Update from 2.6.4 to 2.6.5.Sergey A. Osokin2012-11-222-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=307661
* Update from 2.6.3 to 2.6.4.Sergey A. Osokin2012-11-082-3/+3
| | | | | | | Feature safe: yes Notes: svn path=/head/; revision=307201
* Update from 2.6.2 to 2.6.3.Sergey A. Osokin2012-11-073-5/+7
| | | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=307130
* Revert back changes for rc script.Sergey A. Osokin2012-10-292-1/+2
| | | | | | | | | | | Bump PORTREVISION. Notice from: crees Feature safe: yes Notes: svn path=/head/; revision=306622
* Update from 2.4.17 to latest stable version 2.6.2.Sergey A. Osokin2012-10-288-58/+52
| | | | | | | Feature safe: yes Notes: svn path=/head/; revision=306540
* Update from 2.4.16 to 2.4.17.Sergey A. Osokin2012-09-012-3/+3
| | | | | | | | | | | | | | | | | <ChangeLog> * INFO command now contains the run_id field for Redis Sentinel compatibility. * Support for the "slave priority" parameter published via INFO and used by Redis Sentinel. * [BUGFIX] An optimization to convert double values into strings was not used because of an error in a preprocessor directive. Now it's fixed. Saving datasets with many sorted sets should be faster. * [BUGFIX] Fixed a theoretic bug in the ziplist implementation. </ChangeLog> Notes: svn path=/head/; revision=303509
* Update from 2.4.15 to 2.4.16.Sergey A. Osokin2012-08-024-7/+10
| | | | | | | | | Submitted by: Kubilay Kocak aka koobs dot freebsd at gmail dot com Tests: https://redports.org/buildarchive/20120802120704-7005/ PR: 170326 Notes: svn path=/head/; revision=301867
* Remove databases/redis-scripting, use databases/redis-devel instead.Sergey A. Osokin2012-07-191-1/+1
| | | | | | | Update CONFLICTS for databases/redis and databases/redis-devel. Notes: svn path=/head/; revision=301170
* Rename rc script template to more canonical name.Sergey A. Osokin2012-07-182-1/+1
| | | | Notes: svn path=/head/; revision=301062
* Update from 2.4.14 to 2.14.15.Sergey A. Osokin2012-06-222-3/+3
| | | | | | | | | | | | | | <ChangeLog> UPGRADE URGENCY: moderate if you use AOF, otherwise low. * [BUGFIX] Jemalloc updated to 3.0.0. This fixes a possibly AOF rewrite issue. See https://github.com/antirez/redis/issues/504 for info. </ChangeLog> Notes: svn path=/head/; revision=299787
* Update from 2.4.13 to 2.4.14.Sergey A. Osokin2012-05-283-7/+7
| | | | | | | | | | | | | | | | | | | | | <ChangeLog> UPGRADE URGENCY: high, many non trivial bugs fixed in this release. * [BUGFIX] Fixed issue #518 (Redis 99% CPU when master down). * [BUGFIX] Fixed issue #516 (ZINTERSTORE mixing sets and zsets). * [BUGFIX] Fixed a bug in install_server.sh when using chkconfig * [BUGFIX] Fixes to --test-memory implementation. * [BUGFIX] Allow PREFIX to be overridden in Makefile. * [BUGFIX] The test is now more reliable on slow computers. * redis-cli --pipe mode, see http://redis.io/topics/mass-insert * Much better expired keys collection algorithm that makes the server much more responsive when a lot of keys are expiring at the same time. </ChangeLog> Notes: svn path=/head/; revision=297573
* Update from 2.4.11 to 2.4.13.Sergey A. Osokin2012-05-042-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> What's new in Redis 2.4.13 ========================== UPGRADE URGENCY: high for all the users of the KEYS command, otherwise low. * [BUGFIX] Fix for KEYS command: if the DB contains keys with expires the KEYS command may return the wrong output, having duplicated or missing keys. See issue #487 and #488 on github for details. What's new in Redis 2.4.12 ========================== UPGRADE URGENCY: low if you don't experience any of the fixed problems. * [BUGFIX] Limit the amount of memory consumed by the slow log. * [BUGFIX] --test-memory option fixes. * [BUGFIX] Less false positives in tests. </ChangeLog> Notes: svn path=/head/; revision=295989