We have run redis 2.6 (and now 2.8) for some time with good success.
Looking at 3.2, I have not spotted a migration document.
Can you suggest where to find a doc describing new/dropped/changed commands and other migration topics. I could not put a finger on it.
The most significant change between 3.x and 2.x is that since Redis 3.x, it supports cluster mode.
You can get other change lists from Redis 3.2 release note and Redis 3.0 release note.
Related
Currently I have a single DC cluster with 3 nodes running 4.1.7 version of Scylla. This setup has been running for a long time and I don't want to make changes to this DC, if possible. Now I have a requirement to add another DC cluster with 3 nodes. Can I set up this new DC with the latest stable version of Scylla? Will the two DCs be able to communicate with each other without any issues? Or am I forced to upgrade the existing DC to the latest version?
Scylla supports rolling upgrades, which means you can indeed upgrade just some of the nodes in the cluster while the rest are still running the older version. The cluster should be able to fully work in this state - including the communication between old and new nodes. Not all upgrade paths are equally supported or have been equally tested, obviously, but most "interesting" upgrade paths (a newer release in the same major version, the next major version) are indeed supported.
That being said, while staying at a half-upgraded state for a long time is possible, it is not recommended. It also means that whatever new features or improved algorithms were introduced in the new version, the new nodes will need to avoid them until the full cluster is upgraded.
OSS 4.1.7 is a pretty old OSS release from Oct 2020. The assumption that you can add another DC running OSS 5.0 (latest OSS release from 10 days ago) to the existing cluster, is a bit of a risky one.
The supported upgrade path (QA tested) is from OSS 4.6 to 5.0. You can read more about the upgrade path here: https://docs.scylladb.com/upgrade/upgrade-opensource/
The tested upgrade route is via minor versions 4.1 --> 4.2 --> 4.3 --> 4.4 --> 4.5 --> 4.6 --> 5.0, jumping multiple minor version should work, but we can't say that it was tested.
I am attempting to upgrade from Redis 2.8 to 3.2. All functionality seems to remain intact in my application, but I am left wondering
If there are a set of non-backwards compatible changes I need to take care of?
If my data generated and persisted to disk in Redis 2.8 will work properly with the 3.2 server?
Release notes are on github https://github.com/antirez/redis
Here's a snippet from the release notes for v3.0 and v.3.2
Migrating from 2.8 to 3.0
=========================
Redis 2.8 is mostly a strict subset of 3.0, you should not have any
problem
upgrading your application from 2.8 to 3.0. However this is a list of
small
non-backward compatible changes introduced in the 3.0 release:
The log format was modified. The prefix of each line included the pid
in the following format [1234]. Now instead it is 1234:? Where
'?' is actually the role of the instance. M for master, S for slave, C
if this process is a saving child (for RDB/AOF), and X for Sentinel.
The default maxmemory policy in Redis 3.0 is no longer "volatile-lru" as
it used to be in 2.8, but "noeviction". The policies behavior is the same
(but LRU eviction is much more precise in 3.0), so only the default value
changed. Just make sure to specify in your redis.conf what you mean.
https://raw.githubusercontent.com/antirez/redis/3.0/00-RELEASENOTES
Migrating from 3.0 to 3.2
Redis 3.0 is mostly a strict subset of 3.2, you should not have any problem
upgrading your application from 3.0 to 3.2. However this is a list of small
non-backward compatible changes introduced in the 3.2 release:
The default configuration file now binds to 127.0.0.1.
Slaves try to no longer expose stale data about already expired keys.
The RDB format changed. Redis 3.2 is still able to read 3.0 (and all the
past versions) files, but not the other way around.
Behavior on crash may be different. The crash log format changed and
the memory test executed is now different.
https://raw.githubusercontent.com/antirez/redis/3.2/00-RELEASENOTES
I'm starting to use redis for my applications as a cache backend and "shared memory" store.
I've asked the servers maintenance team to install Redis on our CentOS 6.5 production environments. From EPEL, the version is 2.4.10, which we hope will upgrade in the future. Also, on our internal registry, we have a 3.0.7 available. The maintenance team would prefer the EPEL version.
I'm not quite sure of the differences between the versions. I haven't found a document listing major changes from 2.x to 3.0. Are there major features/ performance improvements/bugfixes in 3.0 that I MUST have?
My first guess is that 2.4.10 would be sufficient enough for my needs.
The most significant change from 2.x to 3.0 is that Redis 3.0 introduces Redis Cluster which is a distributed implementation of Redis.
You can also get change list (bug fix, new features and so on) of other versions from 00-RELEASENOTES file of each version: github link:
I am looking at Nexus 3.00 OSS Edition.
The recent release of Nexus 3.0 (OSS Edition) seems to have dropped support for rpms.
I don't see any specific note declaring that they are going to be dropping some features from 2.x.
So i am not sure whether the rpm/ yum repositry support is actually removed Or is it being supported differently with the new Nexus 3.0 or this feature has been made exclusive for the Paid version.
Not yet. The progress of this can be tracked in http://issues.sonatype.org/browse/NEXUS-10191. Feel free to watch for release details.
I'm trying to install the redis.2.6.0-rc7 cause i need the BITCOUNT command.I downloaded the package from redis-2.6.0-rc7.tar.gz
when I finished the make && make install,I checked the version of redis-cli,it shows
redis-cli 2.5.13
why isn't be 2.6.0?
Because 2.6 has still to be officially released. With Redis, odd version numbers are development versions, even numbers are release versions. 2.6RC7 is still a development version, and therefore labeled as 2.5.something.