Hi all,
Redis 2.8.18 is out, and focuses on adding new features (!).
So... highlights covered here in more details:
1) Diskless replication.
What about a full blog post?
http://antirez.com/news/81
However Diskless replication is experimental, and even normal
replication undergone major refactoring. This is the reason why you
had to wait so much for 2.8.18, it was stress tested for a bit of
time.
With diskless replication you can improve operations when replication
is used in environments where the master has persistence disabled
because of disk pressure concerns. Now slaves (if diskless replication
is on) will not trigger disk I/O on the master, but will still trigger
a fork() and RDB creation. However the RDB is streamed via network and
not materialized on a file.
This also may help when AOF is used on the master, since there will no
longer be a child process competing for disk resources.
2) Lua scripting got better thanks to Matt.
Now there is support for bit operations (yet to be documented,
sorry!), it's the old good API introduced before Lua got native
support in recent releases.
Also msgpack and json libraries got fixes and updates. There are also
a number of new tests in this area.
3) Transparent Huge Pages warnings.
If you have THP enabled, that are the cause of most non obvious
latency issues out there, Redis will warn you in the logs and in the
LATENCY DOCTOR output.
4) Bandwidth tracking.
We now have instantaneous and total bandwidth tracking in the INFO output.
5) PFCOUNT on slaves is now usable.
7) Redis-cli issues in certain terminals should be fixed now.
About redis-cli, Matt Stancliff fixed an old bug that was hard to
track. Basically redis-cli after long timeouts was not able to
connect, but died once you hit enter. Fixed, finally \o/.
That's the full 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)
Regards,
Salvatore
--
Salvatore 'antirez' Sanfilippo
open source developer - GoPivotal
http://invece.org
"Fear makes the wolf bigger than he is."
— German proverb