summaryrefslogtreecommitdiff
path: root/databases/redis-devel/files (follow)
Commit message (Collapse)AuthorAgeFilesLines
* databases/redis-devel: update to recent commit from the unstable branch.Sergey A. Osokin2021-09-033-3/+3
|
* all: Remove all other $FreeBSD keywords.Mathieu Arnold2021-04-062-6/+0
|
* Update from 6.2.0 to 6.2.1.Sergey A. Osokin2021-03-021-30/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove added to the upstream patch. <ChangeLog> ================================================================================ Redis 6.2.1 Released Mon Mar 1 17:51:36 IST 2021 ================================================================================ Upgrade urgency: LOW. Here is a comprehensive list of changes in this release compared to 6.2.0, each one includes the PR number that added it, so you can get more details at https://github.com/redis/redis/pull/<number> Bug fixes: * Fix sanitize-dump-payload for stream with deleted records (#8568) * Prevent client-query-buffer-limit config from being set to lower than 1mb (#8557) Improvements: * Make port, tls-port and bind config options modifiable at runtime (#8510) Platform and deployment-related changes: * Fix compilation error on non-glibc systems if jemalloc is not used (#8533) * Improved memory consumption and memory usage tracking on FreeBSD (#8545) * Fix compilation on ARM64 MacOS with jemalloc (#8458) Modules: * New Module API for getting user name of a client (#8508) * Optimize RM_Call by utilizing a shared reusable client (#8516) * Fix crash running CLIENT INFO via RM_Call (#8560) </ChangeLog> Notes: svn path=/head/; revision=566961
* Fix build.Sergey A. Osokin2021-02-231-0/+30
| | | | | | | | | | | | | | | | | | | | cc -std=c11 -pedantic -DREDIS_STATIC='' -Wall -W -Wno-missing-field-initializers -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -MMD -o lzf_c.o -c lzf_c.c zmalloc.c:59:5: error: function-like macro 'sizeof' is not defined #if PREFIX_SIZE > 0 ^ zmalloc.c:55:22: note: expanded from macro 'PREFIX_SIZE' #define PREFIX_SIZE (sizeof(size_t)) ^ 1 error generated. gmake[3]: *** [Makefile:339: zmalloc.o] Error 1 Do not bump PORTREVISION because these have no successful builds. Reported by: many Notes: svn path=/head/; revision=566418
* Update to the recent development version 6.2.0rc2.Sergey A. Osokin2021-01-137-75/+76
| | | | Notes: svn path=/head/; revision=561490
* Update from 6.0.8 to 6.0.10.Sergey A. Osokin2021-01-133-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> ================================================================================ Redis 6.0.10 Released Tue Jan 12 16:20:20 IST 2021 ================================================================================ Upgrade urgency MODERATE: several bugs with moderate impact are fixed, Here is a comprehensive list of changes in this release compared to 6.0.9. Command behavior changes: * SWAPDB invalidates WATCHed keys (#8239) * SORT command behaves differently when used on a writable replica (#8283) * EXISTS should not alter LRU (#8016) In Redis 5.0 and 6.0 it would have touched the LRU/LFU of the key. * OBJECT should not reveal logically expired keys (#8016) Will now behave the same TYPE or any other non-DEBUG command. * GEORADIUS[BYMEMBER] can fail with -OOM if Redis is over the memory limit (#8107) Other behavior changes: * Sentinel: Fix missing updates to the config file after SENTINEL SET command (#8229) * CONFIG REWRITE is atomic and safer, but requires write access to the config file's folder (#7824, #8051) This change was already present in 6.0.9, but was missing from the release notes. Bug fixes with compatibility implications (bugs introduced in Redis 6.0): * Fix RDB CRC64 checksum on big-endian systems (#8270) If you're using big-endian please consider the compatibility implications with RESTORE, replication and persistence. * Fix wrong order of key/value in Lua's map response (#8266) If your scripts use redis.setresp() or return a map (new in Redis 6.0), please consider the implications. Bug fixes: * Fix an issue where a forked process deletes the parent's pidfile (#8231) * Fix crashes when enabling io-threads-do-reads (#8230) * Fix a crash in redis-cli after executing cluster backup (#8267) * Handle output buffer limits for module blocked clients (#8141) Could result in a module sending reply to a blocked client to go beyond the limit. * Fix setproctitle related crashes. (#8150, #8088) Caused various crashes on startup, mainly on Apple M1 chips or under instrumentation. * Backup/restore cluster mode keys to slots map for repl-diskless-load=swapdb (#8108) In cluster mode with repl-diskless-load, when loading failed, slot map wouldn't have been restored. * Fix oom-score-adj-values range, and bug when used in config file (#8046) Enabling setting this in the config file in a line after enabling it, would have been buggy. * Reset average ttl when empty databases (#8106) Just causing misleading metric in INFO * Disable rehash when Redis has child process (#8007) This could have caused excessive CoW during BGSAVE, replication or AOFRW. * Further improved ACL algorithm for picking categories (#7966) Output of ACL GETUSER is now more similar to the one provided by ACL SETUSER. * Fix bug with module GIL being released prematurely (#8061) Could in theory (and rarely) cause multi-threaded modules to corrupt memory. * Reduce effect of client tracking causing feedback loop in key eviction (#8100) * Fix cluster access to unaligned memory (SIGBUS on old ARM) (#7958) * Fix saving of strings larger than 2GB into RDB files (#8306) Additional improvements: * Avoid wasteful transient memory allocation in certain cases (#8286, #5954) Platform / toolchain support related improvements: * Fix crash log registers output on ARM. (#8020) * Add a check for an ARM64 Linux kernel bug (#8224) Due to the potential severity of this issue, Redis will print log warning on startup. * Raspberry build fix. (#8095) New configuration options: * oom-score-adj-values config can now take absolute values (besides relative ones) (#8046) Module related fixes: * Moved RMAPI_FUNC_SUPPORTED so that it's usable (#8037) * Improve timer accuracy (#7987) * Allow '\0' inside of result of RM_CreateStringPrintf (#6260) ================================================================================ Redis 6.0.9 Released Mon Oct 26 10:37:47 IST 2020 ================================================================================ Upgrade urgency: SECURITY if you use an affected platform (see below). Otherwise the upgrade urgency is MODERATE. This release fixes a potential heap overflow when using a heap allocator other than jemalloc or glibc's malloc. See: https://github.com/redis/redis/pull/7963 Other fixes in this release: New: * Memory reporting of clients argv (#7874) * Add redis-cli control on raw format line delimiter (#7841) * Add redis-cli support for rediss:// -u prefix (#7900) * Get rss size support for NetBSD and DragonFlyBSD Behavior changes: * WATCH no longer ignores keys which have expired for MULTI/EXEC (#7920) * Correct OBJECT ENCODING response for stream type (#7797) * Allow blocked XREAD on a cluster replica (#7881) * TLS: Do not require CA config if not used (#7862) Bug fixes: * INFO report real peak memory (before eviction) (#7894) * Allow requirepass config to clear the password (#7899) * Fix config rewrite file handling to make it really atomic (#7824) * Fix excessive categories being displayed from ACLs (#7889) * Add fsync in replica when full RDB payload was received (#7839) * Don't write replies to socket when output buffer limit reached (#7202) * Fix redis-check-rdb support for modules aux data (#7826) * Other smaller bug fixes Modules API: * Add APIs for version and compatibility checks (#7865) * Add RM_GetClientCertificate (#7866) * Add RM_GetDetachedThreadSafeContext (#7886) * Add RM_GetCommandKeys (#7884) * Add Swapdb Module Event (#7804) * RM_GetContextFlags provides indication of being in a fork child (#7783) * RM_GetContextFlags document missing flags: MULTI_DIRTY, IS_CHILD (#7821) * Expose real client on connection events (#7867) * Minor improvements to module blocked on keys (#7903) </ChangeLog> Notes: svn path=/head/; revision=561473
* Update the lua/luajit/luajit-openresty extra patches.Sergey A. Osokin2020-05-163-21/+21
| | | | | | | Bump PORTREVISION. Notes: svn path=/head/; revision=535480
* Update to the recent commit (aka 6.0 GA).Sergey A. Osokin2020-04-303-12/+12
| | | | Notes: svn path=/head/; revision=533477
* Update to the Apr 3, 2020.Sergey A. Osokin2020-04-043-36/+36
| | | | | | | Re-generate lua/luajit specific patches. Notes: svn path=/head/; revision=530532
* Add two missing patches with r519299.Sergey A. Osokin2019-12-082-0/+69
| | | | Notes: svn path=/head/; revision=519300
* Update to the recent commit.Sergey A. Osokin2019-11-303-12/+30
| | | | | | | | | Make portlint(1) more happier by regenerating the patch and move USES knob up. Add another patch to respect [C|CXX]FLAGS. Notes: svn path=/head/; revision=518681
* Fix the build by updating the patch.Sergey A. Osokin2019-11-281-43/+18
| | | | Notes: svn path=/head/; revision=518604
* Update to the recent development version from the unstable branch.Sergey A. Osokin2019-11-275-39/+38
| | | | Notes: svn path=/head/; revision=518516
* Update from 5.0.5 to 5.0.6.Sergey A. Osokin2019-11-058-43/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | Regenerate the patches to make portlint(1) happier. <ChangeLog> Upgrade urgency CRITICAL: Only in case of exposed instances to untrusted users. This Redis release, 5.0.6, is a bugfix and enhancement release. The most important bugfix is a corruption related to the HyperLogLog. A malformed HyperLogLog string could cause an invalid access to the memory. At a first glance the vulnerability appears to be not exploitable but just a DoS. The way to trigger the issue is complex, we'll not provide any information about how to do that for the users safety. Other significant changes in this release: * New modules APIs merged from Redis unstable to Redis 5. * Some memory optimization related to objects creation. * Fixes to flushSlaveOutputBuffer() that make sure that SHUTDOWN will transfer pending buffers to replicas. </ChangeLog> Notes: svn path=/head/; revision=516843
* Convert to UCL & cleanup pkg-message (categories d)Mathieu Arnold2019-08-131-3/+6
| | | | Notes: svn path=/head/; revision=508835
* Upgrade from 5.0.2 to 5.0.3.Sergey A. Osokin2018-12-141-11/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> Upgrade urgency HIGH: Redis 5 is consolidating, upgrading is a good idea. However there is nothing very critical here, but certain issues resolved could lead to very rare crashes. Welcome to Redis 5.0.3, several interesting bug fixes here: * Redis no longer panics when you send data to a replica-mode connection that is in MONITOR or SYNC mode. * Fixes to certain sorted set edge cases. You are unlikely to ever notice those issues, but now it is more correct. * Certain BSD variants now are better supported: build & register logging on crash. * The networking core now recovers if an IPv6 address is listed in bind but is actually not able to work because there is no such protocol in the system. * redis-cli cluster mode improved in many ways. Especially the fix subcommand work was enhanced to cover other edge cases that were still not covered after the work done for Redis 5. * MEMORY USAGE is now more accurate. * DEBUG DIGEST-VALUE added in case you want to make sure a given set of keys (and not the whole DB) are excatly the same between two instances. * Fix a potential crash in the networking code related to recent changes to the way the reply is consumed. * Reject EXEC containing write commands against an instance that changed role from master to replica during our transaction. * Fix a crash in KEYS and other commands using pattern matching, in an edge case where the pattern contains a zero byte. * Fix eviction during AOF loading due to maxmemory triggered by commands executed in loading state. </ChangeLog> Notes: svn path=/head/; revision=487397
* Upgrade from 5.0-rc5 to 5.0.0.Sergey A. Osokin2018-10-182-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> Upgrade urgency CRITICAL: Several fixes to streams AOF and replication. Hi all and welcome to the first stable release of Redis 5! \o/ To start a quick recap of what's new in Redis 5: 1. The new Stream data type. https://redis.io/topics/streams-intro 2. New Redis modules APIs: Timers, Cluster and Dictionary APIs. 3. RDB now store LFU and LRU information. 4. The cluster manager was ported from Ruby (redis-trib.rb) to C code inside redis-cli. Check `redis-cli --cluster help` for more info. 5. New sorted set commands: ZPOPMIN/MAX and blocking variants. 6. Active defragmentation version 2. 7. Improvemenets in HyperLogLog implementations. 8. Better memory reporting capabilities. 9. Many commands with sub-commands now have an HELP subcommand. 10. Better performances when clients connect and disconnect often. 11. Many bug fixes and other random improvements. 12. Jemalloc was upgraded to version 5.1 13. CLIENT UNBLOCK and CLIENT ID. 14. The LOLWUT command was added. http://antirez.com/news/123 15. We no longer use the "slave" word if not for API backward compatibility. 16. Differnet optimizations in the networking layer. 17. Lua improvements: - Better propagation of Lua scripts to slaves / AOF. - Lua scripts can now timeout and get in -BUSY state in the slave as well. 18. Dynamic HZ to balance idle CPU usage with responsiveness. 19. The Redis core was refactored and improved in many ways. </ChangeLog> Notes: svn path=/head/; revision=482382
* Upgrade from 5.0-rc4 to 5.0-rc5.Sergey A. Osokin2018-09-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> Upgrade urgency HIGH: Several imporant bugs fixed. This is the release candidate number five, and has a lot of bug fixes inside, together with a few big changes to the Redis behavior from the point of view of replication of scripts and handling of the maxmemory directive in slaves. Make sure to read the whole list! * BREAKING BEHAVIOR: Slaves now ignore maxmemory by default. * BREAKING BEHAVIOR: Now scripts are always replicated for their effects, and never sending the script itself to slaves/AOF. * Improvement: Big pipelining performances improved significantly. * Fix: Rewrite BRPOPLPUSH as RPOPLPUSH to propagate. * Fix: False positives in tests. * Fix: Certain command flags were modified because not correct. * Fix: Fix blocking XREAD for streams that are empty. * Improvement: Allow scripts to timeout on slaves as well. * Fix: Different corner cases due to CLIENT PAUSE are now fixed. * Improvement: Optimize parsing large bulk greater than 32k. * Fix: Propagate read-only scripts as SCRIPT LOAD, not as EVAL. </ChangeLog> Notes: svn path=/head/; revision=479208
* Upgrade from 5.0-rc3 to 5.0-rc4.Sergey A. Osokin2018-08-052-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <ChangeLog> Upgrade urgency HIGH: Many non critical but important issues fixed. CRITICAL for Stream users: Many important bugs fixed. Fixes: * A number of fixes related to Streams: stability and correctnes. * Fix dbRandomKey() potential infinite loop. * Improve eviction LFU/LRU when keys are created by INCR commands family. * Active defragmentation is now working on Redis 5. * Fix corner case in Redis CLuster / Sentinel failover, by resetting the disconnection time with master in a more appropriate place. * Use a private version of localtime() to avoid potential deadlocks. * Different redis-cli non critical fixes. * Fix rare replication stream corruption with disk-based replication. Improvements: * Sentinel: add an option to deny online script reconfiguration. * Improved RESTORE command. * Sentinel command renaming: allows to use Sentinel with Redis instances that have non standard command names. * CLIENT ID and CLIENT UNBLOCK. * CLIENT LIST now supports a TYPE option. * redis-cli --cluster now supports authentication. * redis-trib is now deprecated (use redis-cli --cluster). * Better slaves output buffers efficiency. * Faster INFO when there are many clients connected. * Dynamic HZ feature. * Improvements in what the MEMORY command is able to report. * Add year in log. (WARNING: may be incompatible with log scraping tools) * Lazy freeing now works even when values are overwritten (for instance SET). * Faster ZADD when elements scores are updated. * Improvements to the test suite, including many new options. </ChangeLog> Notes: svn path=/head/; revision=476417
* Add a workaround for solarisfixes.h header file.Sergey A. Osokin2018-04-171-0/+12
| | | | | | | Bump PORTREVISIONs. Notes: svn path=/head/; revision=467661
* Upgrade to the latest stable release - 4.0.1.Sergey A. Osokin2017-08-062-16/+16
| | | | | | | ChangeLog: https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES Notes: svn path=/head/; revision=447466
* Upgrade from 4.0-rc2 to 4.0-rc3.Sergey A. Osokin2017-05-064-45/+97
| | | | Notes: svn path=/head/; revision=440283
* Upgrade from 3.2.5 to 4.0-rc1.Sergey A. Osokin2016-12-062-37/+57
| | | | | | | ChangeLog: https://raw.githubusercontent.com/antirez/redis/4.0/00-RELEASENOTES Notes: svn path=/head/; revision=427926
* Upgrade from 3.2.0 to 3.2.1.Sergey A. Osokin2016-06-181-7/+7
| | | | | | | | | | 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 Notes: svn path=/head/; revision=417076
* Upgrade from 3.0.7 to latest 3.2.0-rc3.Sergey A. Osokin2016-02-034-50/+56
| | | | Notes: svn path=/head/; revision=407930
* Enable profiles support.Sergey A. Osokin2015-11-071-0/+36
| | | | | | | | | Bump PORTREVISION. PRs: 171372, 179551 Notes: svn path=/head/; revision=401020
* Add rc script for sentinel.Sergey A. Osokin2015-10-291-0/+42
| | | | | | | | | Bump PORTREVISION. PR: 204025 Notes: svn path=/head/; revision=400428
* Fix rc.d script for allow to specify the config path in rc.conf.Sergey A. Osokin2015-05-061-3/+3
| | | | | | | | | Bump PORTREVISION. PR: 199607 Notes: svn path=/head/; revision=385499
* Upgrade from 3.0.0-rc4 to 3.0.0.Sergey A. Osokin2015-04-072-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <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> Notes: svn path=/head/; revision=383544
* Upgrade from 3.0.0-rc1 to 3.0.0-rc2.Sergey A. Osokin2015-01-174-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <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> Notes: svn path=/head/; revision=377245
* Upgrade from 3.0.0-beta8 to 3.0.0-rc1.Sergey A. Osokin2014-10-102-20/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <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> Notes: svn path=/head/; revision=370602
* Attempt to fix build on 8.x.Sergey A. Osokin2014-10-061-0/+12
| | | | Notes: svn path=/head/; revision=370239
* - Fix rc.d scriptPietro Cerutti2014-10-031-1/+1
| | | | Notes: svn path=/head/; revision=369898
* Upgrade from 3.0.0-beta6 to 3.0.0-beta8.Sergey A. Osokin2014-09-093-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <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> Notes: svn path=/head/; revision=367788
* Upgrade from 3.0.0-beta2 to 3.0.0-beta5.Sergey A. Osokin2014-06-022-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=356190
* Upgrade from 2.8.3 to 2.8.4.Sergey A. Osokin2014-01-141-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | <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
* Add support for lang/lua, disabled by default.Sergey A. Osokin2013-08-222-0/+47
| | | | | | | Do not bump PORTREVISION. Notes: svn path=/head/; revision=325175
* Update from 2.8.0-rc2 to 2.8.0-rc3.Sergey A. Osokin2013-08-201-3/+10
| | | | | | | | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=325066
* Update from 2.6.14 to 2.8.0-rc2.Sergey A. Osokin2013-08-134-53/+55
| | | | | | | Changes: https://raw.github.com/antirez/redis/2.8/00-RELEASENOTES Notes: svn path=/head/; revision=324677
* Update from 2.6.10 to 2.6.11.Sergey A. Osokin2013-03-121-4/+4
| | | | | | | | | | | | | | | | | | | <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-111-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | <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.7 to 2.6.8.Sergey A. Osokin2013-01-121-0/+47
| | | | | | | | | | | | | | | | | | | | 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
* 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.0rc7 to 2.6.0rc8.Sergey A. Osokin2012-10-061-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | 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> Notes: svn path=/head/; revision=305364
* Update from 2.6.0rc6 to 2.6.0rc7.Sergey A. Osokin2012-09-191-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | <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> Notes: svn path=/head/; revision=304537
* Update from 2.6.0-rc5 to 2.6.0-rc6.Sergey A. Osokin2012-08-021-15/+5
| | | | Notes: svn path=/head/; revision=301868
* Remove needless file.Sergey A. Osokin2012-07-171-85/+0
| | | | Notes: svn path=/head/; revision=301023
* Readding the removed port redis-devel.Sergey A. Osokin2012-07-179-0/+272
| | | | | | | Update to the latest development version 2.6.0-rc5. Notes: svn path=/head/; revision=301021
* Remove databases/redis-devel after merge to databases/redis.Sergey A. Osokin2010-09-204-162/+0
| | | | Notes: svn path=/head/; revision=261504
* Update from 1.2.6 to latest development version 2.0.0rc4 after repocopy.Sergey A. Osokin2010-08-151-11/+11
| | | | | | | | Add CONFLICTS. Add the note in UPDATING about configuration file changes. Notes: svn path=/head/; revision=259281