1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00
Commit Graph

57 Commits

Author SHA1 Message Date
Sergey A. Osokin
5f6e86295c Update from 2.4.16 to 2.4.17.
<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>
2012-09-01 19:01:43 +00:00
Sergey A. Osokin
1983f961b1 Update from 2.4.15 to 2.4.16.
Submitted by:	Kubilay Kocak aka koobs dot freebsd at gmail dot com
Tests:		https://redports.org/buildarchive/20120802120704-7005/
PR:		170326
2012-08-02 18:20:11 +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
928def84a1 Rename rc script template to more canonical name. 2012-07-18 06:10:17 +00:00
Sergey A. Osokin
6e9599d135 Update from 2.4.14 to 2.14.15.
<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>
2012-06-22 19:28:45 +00:00
Sergey A. Osokin
0d32f8a129 Update from 2.4.13 to 2.4.14.
<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>
2012-05-28 07:23:16 +00:00
Sergey A. Osokin
6668abdc3f Update from 2.4.11 to 2.4.13.
<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>
2012-05-04 04:53:43 +00:00
Sergey A. Osokin
d01aa3a687 Update from 2.4.10 to 2.4.11.
<ChangeLog>

UPGRADE URGENCY: moderate if you don't experience any of the fixed problems.

* [BUGFIX] Fixed a problem with aeWait() implementation. May cause a crash
           under non easy to replicate condiitons. See issue #267 on github.
* [BUGFIX] SORT with GET/BY option fetching expiring keys fixed. Issue #460.
* [BUGFIX] INFO field master_link_down_since_seconds initialized correctly.
* [FEATURE] redis-cli back ported from Redis unstable. Now has support for
            --bigkeys (to sample the DB for very large keys), --slave to
            simulate a slave instance.

</ChangeLog>
2012-04-22 09:37:04 +00:00
Sergey A. Osokin
e515c443ca Update from 2.4.9 to 2.4.10.
Feature safe:	yes

<ChangeLog>

UPGRADE URGENCY: High for users using replication with a DB identifier
higher than 9, or chaining replication so that slaves are attached to
other slaves. Low for all the other users.

* [FEATURE] Redis --test-meory improved with new test testing addressing.
* [BUGFIX] Fixed a memory leak: happens when replication is used with
  DB > 9.
* [BUGFIX] Fixed a replication bug that happens in chained replicaiton
  when a slave is attached to a master that is later turned into a slave.
  Now the chained slave reconnection is properly forced.

</ChangeLog>
2012-03-31 14:01:30 +00:00
Sergey A. Osokin
6ea7378e23 Update from 2.4.8 to 2.4.9.
Feature safe:	yes

<ChangeLog>

UPGRADE URGENCY: low. Mostly new features and minor bug fixing.

* [FEATURE] Redis server is now able to test your memory for broken RAM.
            Usage: ./redis-server --test-memory <megabytes>.
* [FEATURE] redis-benchmark backported from unstable. Pipelining, run selected
            tests, and a few more features.
* [BUGFIX] utils/install_server.sh script now works on Redhat / Centos.
* [BUGFIX] Minor fix to redis-cli (github issue #306).

</ChangeLog>
2012-03-19 10:35:49 +00:00
Sergey A. Osokin
fd5f4b8224 Update from 2.4.7 to 2.4.8.
<ChangeLog>

UPGRADE URGENCY: moderate if you don't experience any of the fixed problems.

* [BUGFIX] Make install now uses cp -f to avoid 'text file busy' errors.
* [BUGFIX] redis-check-aof is now large files safe also on 32 bit systems.
* [BUGFIX] Issue #327 fixed: maxmemory and replication now work much better.
* [BUGFIX] Now HINCRBY can detect overflows too. Fix for issue #330.
* [BUGFIX] Fixed compilation with latest clang.
* [BUGFIX] Fixed handling of empty sorted sets produced in RDB by
           very old Redis versions (1.2.x).

</ChangeLog>
2012-02-24 13:04:14 +00:00
Sergey A. Osokin
9701a9f7ed Update from 2.4.6 to 2.4.7.
<ChangeLog>

UPGRADE URGENCY: low/moderate if you don't experience any of the fixed
problems.

* [BUGFIX] Fixed false positive in issue #141 regression test.
* [BUGFIX] Slave should not expire keys when loading an RDB after a SYNC.
* [BUGFIX] Don't increment stats for key misses / hits when key is written.
* [BUGFIX] sds.c library now don't allocate more than 1MB ahead.
* 32 bit instances without a maxmemory set now get a default limit of 3.5GB
  with maxmemory-policy set to noeviction.
* Better crash report on crash (containing current client and command arguments).

</ChangeLog>
2012-02-04 07:06:47 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Sergey A. Osokin
95b1289949 Update from 2.4.5 to 2.4.6.
<ChangeLog>

* [BUGFIX] Fixed issue #141 part 1: Possible protocol desyncs when clients send
           wrong protocol is now fixed. (See issue 141 for more details)
* [BUGFIX] Fixed issue #141 part 2: Connection of multiple slaves used to result
           from time to time into corrupted protocol send to slaves connected
           after the first one. (See issue 141 for more details)
* [BUGFIX] Do not propagate DEBUG LOADAOF.
* New INFO contains information such as ip/port/state for every conneced slave.
* Show GCC version in INFO output.

</ChangeLog>
2012-01-12 04:29:36 +00:00
Sergey A. Osokin
493e0a6dd4 Update from 2.4.4 to 2.4.5.
Notice from:	miwi

<ChangeLog>

https://raw.github.com/antirez/redis/2.4/00-RELEASENOTES

</ChangeLog>
2011-12-29 07:36:14 +00:00
Sergey A. Osokin
b3606b8da2 Fix build on i386.
Feature safe:	yes

PR:	163004
2011-12-02 03:42:56 +00:00
Sergey A. Osokin
837c6a9247 Use backtrace()/backtrace_symbols() calls from devel/libexecinfo for
better diagnostics.

Bump PORTREVISION.

Feature safe:	yes
2011-11-30 12:46:19 +00:00
Sergey A. Osokin
31394c72f7 Update from 2.4.3 to 2.4.4.
Add quickfix for build.		[*]

Feature safe:	yes

Submitted by:	Alex Lyashkov <umka at sevcity dot net> [*]

<ChangeLog>

https://raw.github.com/antirez/redis/2.4/00-RELEASENOTES

</ChangeLog>
2011-11-30 10:57:45 +00:00
Sergey A. Osokin
449868b8a1 Add quick fix for fresh redis.
Also drop a note for UPDATING.

Feature safe:	yes
Pointy hat to:	osa
2011-11-23 11:56:53 +00:00
Sergey A. Osokin
59134b7c45 Update from 2.2.15 to 2.4.3.
Add fix for build with clang.	[*]

Submitted by:	vanilla		[*]

Feature safe:	yes

<ChangeLog>

https://raw.github.com/antirez/redis/2.4/00-RELEASENOTES

</ChangeLog>
2011-11-23 11:52:05 +00:00
Sergey A. Osokin
3d0b0e5dc2 Update from 2.2.14 to 2.2.15.
Note.  The 2.2.15 release is the latest release from
legacy 2.2 branch.  Next commit is up to latest bugfix
release from 2.4 branch.

<ChangeLog>

* [BUGFIX] FLUSHALL was not replicated nor written into the
           Append Only File.
* [BUGFIX] FLUSHALL now only performs a sync SAVE if there
           is at least one save point configured.

</ChangeLog>
2011-10-27 20:16:42 +00:00
Sergey A. Osokin
0e1dacaf8c Update from 2.2.13 to latest bugfix release 2.2.14.
Notice from:	miwi

<ChangeLog>

* [BUGFIX] Fixed a rare but possible AOF race condition
  that could result into duplicated commands inside the AOF.

* [BUGFIX] Don't replicate SAVE.

* LRANGE optimization may drastically improve performances
  when querying the final part of a long list.

* redis-cli now implements a --latency mode to monitory
  Redis delay.

</ChangeLog>
2011-09-22 05:37:47 +00:00
Sergey A. Osokin
0b43809cb1 Update from 2.2.12 to latest bugfix release 2.2.13.
<ChangeLog>

* [BUGFIX] Fixed issue 593 (BRPOPLPUSH related crash).
* [BUGFIX] Fixed an issue with the networking layer that may
  prevent Redis from sending the whole reply back to client
  under extreme conditions.

</ChangeLog>
2011-09-14 06:39:19 +00:00
Sergey A. Osokin
a97530c6a9 Add documentation.
Bump PORTREVISION.

PR:	ports/160163
2011-08-25 06:40:44 +00:00
Sergey A. Osokin
7943c57657 Update from 2.2.11 to 2.2.12.
<ChangeLog>

* the Slowlog feature was backported to Redis 2.2.
* a number of fixes related blocking operations on lists when
  mixed with AOF and Replication.
* fixed bad interactions between EXPIRE, EXPIREAT, and in
  general volatile keys when AOF is enabled.  More details in
  the Redis Google Group here:
  http://groups.google.com/group/redis-db/browse_frm/thread/5a931fefb88b16d5?tvc=1
* no more allocation stats info in INFO.
* colorized make for 2.2 as well.
* fixed a problem with AOF when it is stopped via CONFIG SET
  appendonly no.
* warn the user enabling VM that VM is deprecated and discouraged.
* prepareForShutdown() fixed for correctness.
* close the listening sockets on exit for faster restarts.

</ChangeLog>
2011-07-26 11:51:30 +00:00
Sergey A. Osokin
80f1925c91 Add redis-scripting, version 2.2.111, an experimental version of
Redis 2.2.11 with support for Lua scripting, backported from the
scripting branch.  Instructions about how to use it are contained
in following blog post:
http://antirez.com/post/scripting-branch-released.html

Connect to build.

Add CONFLICTS and bump PORTREVISION for databases/redis.
2011-07-22 10:32:41 +00:00
Sergey A. Osokin
8372dd4ab2 Add back SUB_LIST variables.
Bump PORTREVISION.

Reported by:	Oleg Ginzburg aka olevole at olevole dot ru
2011-07-01 10:41:43 +00:00
Sergey A. Osokin
764e2bc101 Update from 2.2.10 to 2.2.11.
Create/remove necessary directories in install/deinstall process.
Optimize SUB_LIST.

PRs:	ports/158115, ports/158190

<ChangeLog>

* Solved a never reported but possibly critical bug in the AOF
  and RDB persistence, introduced with the new version of the
  iterator: In very rare circumstances the AOF (after rerwite)
  or the rdb file may contain the same key more than one time.

</ChangeLog>
2011-06-28 06:36:02 +00:00
Sergey A. Osokin
e7b1af21a3 Update from 2.2.9 to 2.2.10.
<ChangeLog>

* Fix for issue 566. It was possible for SETNX to behave in abnormal
  ways.
* Work with make v3.80
* redis-cli updated to the same version as the 2.4 branch.  Now the
  reconnection handling is better.  You can prefix commands with a
  number to execute the command the specified number of times.  When
  using -r in non interactive mode it is possible to set a delay
  between commands.
* Better init script.

</ChangeLog>

Submitted by:	Jin-Sih Lin aka linpct at gmail dot com
PR:		ports/157973
2011-06-21 11:29:05 +00:00
Sergey A. Osokin
61aadf573d Update from 2.2.8 to 2.2.9.
<ChangeLog>

* A Slave used to rewrite the AOF log after a sync with the
  master, but the rewrite was performed at the wrong time,
  causing inconsistencies in the AOF file generated.
* [LR]LPUSH replication in presence of BRPOPLPUSH was
  broken. Fixed.
* Memory leak in BRPOPLPUSH fixed.
* Pub/Sub bug resulting in random crashes fixed.

</ChangeLog>
2011-06-10 08:53:43 +00:00
Sergey A. Osokin
9631bd35ec Update from 2.2.7 to 2.2.8.
<ChangeLog>

* A new form of dict.c (hash table implementation) iterator that performs less
  copy-on-write of pages, introduced in Redis 2.2.7, caused ZINTERSTORE,
  ZUNIONSTORE, SINTER, SINTERSTORE commands to behave in the wrong way.
  This bug is now fixed.
* Print version info before running the test with 'make test'. This is mainly
  useful for the Continuous Integration system we run.
* Fix for DEBUG DIGEST, key may expire on lookup, producing the wrong result.
* Replication with expire test modified to produce no or less false failures.
* Fixed Z*STORE when dealing with intsets, regression test added.

</ChangeLog>
2011-05-26 12:55:26 +00:00
Doug Barton
29813d5397 Remove painful examples of foo="", with particular prejudice against
constructions that parse out to [ -z "$foo" ] && foo=""

These are bad examples that get copied and pasted into new code, so the
hope is that with less bad examples there will be less need for me to
bring this up in review.

In a few of these files all that were changed were comments so that next
time I search for these patterns I won't trip on the file for no reason.

In a few places, add $FreeBSD$

No functional changes, so no PORTREVISION bumps
2011-05-15 02:49:17 +00:00
Sergey A. Osokin
2dd10c1328 Update from 2.2.5 to 2.2.7.
Also update port infrastructure, remove needless script.

<ChangeLog>

What's new in Redis 2.2.7
=========================

* Fixed bug #543-2 (the issue was reopened with a completely different report)
  that caused Redis to randomly crash on list push performed against lists
  with other clients blocked with BLPOP (or variants).

What's new in Redis 2.2.6
=========================

* Fixed bug #543. If you saw Redis instances crashing on List operations
  (only happening with a non-default max entry size ziplist setting in
  redis.conf) it was almost certainly this problem.
* Fixed a bug with replication where SLAVEOF NO ONE caused a slave to close the
  connection with all its slaves.

</ChangeLog>
2011-05-11 15:20:59 +00:00
Sergey A. Osokin
ab4a77c4dd Update from 2.2.4 to 2.2.5.
Notice from:	miwi
2011-04-23 10:18:31 +00:00
Sergey A. Osokin
df45cfb565 Update from 2.2.2 to 2.2.4. 2011-04-11 06:53:08 +00:00
Sergey A. Osokin
2b2e0e530f Update from 2.2.1 to 2.2.2. 2011-03-05 13:39:11 +00:00
Sergey A. Osokin
14905080a5 Remove necessary CONFLICTS.
Update package description, WWW.

Bump PORTREVISION.
2011-02-25 07:54:55 +00:00
Sergey A. Osokin
fa3eef2740 Update to latest stable version 2.2.1.
Remove CONFLICTS with redis-1.
Remove NO_LATEST_LINK.
2011-02-24 19:57:41 +00:00
Sergey A. Osokin
69f903759a Update from 2.0.4 (after repocopy to databases/redis2) to latest
release candidate 2.2.rc4.

Add CONFLICTS with redis-2.0.
Add NO_LATEST_LINK, should be removed after 2.2 release.
2011-02-13 12:25:02 +00:00
Sergey A. Osokin
5331837272 Update from 2.0.3 to 2.0.4.
<ChangeLog>

This release fixes two non critical bugs:

- HMGET used to crash when called against a key that was not holding
  an hash.  Fixed by Pieter Noordhuis.

- Redis will now not try to save the DB if no save points for RDB are
  configured, when used as a non persistent cache.  Thanks to Robey
  Pointer from Twitter for providing this patch.

Waiting 2.2 ...

</ChangeLog>
2010-11-08 19:17:43 +00:00
Sergey A. Osokin
5542d49cec Update from 2.0.2 to 2.0.3.
<ChangeLog>

- The maxmemory directive was broken in Redis <= 2.0.2, since from time to
  time it replayed with an error about memory limit reached even when
  it was possible to expire some volatile key to make room for new data.

  The new behaviour is the correct one of always allowing write operations
  to succeed as long as there are other volatile keys to remove.

- An AOF bug related to blocking POP could crash Redis on AOF reload.
  This is now fixed thanks to Pieter Noordhuis and a kind user that
  helped us on IRC.

</ChangeLog>
2010-10-17 07:04:56 +00:00
Sergey A. Osokin
78ff543546 Update from 2.0.1 to 2.0.2.
<ChangeLog>

- Fixed a bug that may slow down significantly (from a few milliseconds
  to many seconds) server side intersections when a background write is
  in progress. This was due to the hash table resize policy, prevented when
  there was a saving child. Now it's prevented only up to 5 times
  overbooking, so we try hard to prevent a lot of copy on write, but
  avoiding to trigger pathological hash table performances of O(N) instead
  of O(1).

- Fixed expired keys counter in INFO output. It was not counting keys
  force-expired due to max-memory limit reached.

</ChangeLog>
2010-09-22 12:41:48 +00:00
Sergey A. Osokin
6e37a8c512 Update CONFLICTS.
Bump PORTREVISION.
2010-09-21 15:35:55 +00:00
Sergey A. Osokin
673fc573d7 Update to latest stable version 2.0.1.
Previous stable release redis-1.2.6 repocopied to databases/redis1.
2010-09-20 17:46:19 +00:00
Sergey A. Osokin
4d1beba222 Add CONFLICTS with databases/redis-devel.
Bump PORTREVISION.
2010-08-15 09:23:37 +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
Sergey A. Osokin
db1b15a267 Update from 1.2.4 to 1.2.5.
Notice from:	roberto

<ChangeLog>

Redis 1.2.5 fixes a replication bug: multiple slaves
connecting to the same master could lead to random
crashes or corruptions.

</ChangeLog>
2010-03-15 12:28:04 +00:00
Sergey A. Osokin
d4ac4fe944 Update from 1.2.3 to 1.2.4.
Notice from:	roberto

<ChangeLog>

- Replication when .rdb file is bigger than 2GB.

</ChangeLog>
2010-03-07 11:19:13 +00:00
Sergey A. Osokin
e6cf2f94f2 Update from 1.2.2 to 1.2.3.
Feature safe:	yes

Submitted by:	roberto
2010-03-03 04:57:28 +00:00