Commit ecb23143 authored by Stan Hu's avatar Stan Hu

Merge branch 'remove-redis-3-references' into 'master'

Remove Redis 3 references

See merge request gitlab-org/gitlab!38475
parents 10807286 18f7e40d
---
title: Set minimum Redis version to 4 and recommended version to 5 in Redis check
task
merge_request: 38475
author:
type: changed
...@@ -23,32 +23,39 @@ Example output: ...@@ -23,32 +23,39 @@ Example output:
```plaintext ```plaintext
System information System information
System: Debian 7.8 System: Ubuntu 20.04
Proxy: no
Current User: git Current User: git
Using RVM: no Using RVM: no
Ruby Version: 2.1.5p273 Ruby Version: 2.6.6p146
Gem Version: 2.4.3 Gem Version: 2.7.10
Bundler Version: 1.7.6 Bundler Version:1.17.3
Rake Version: 10.3.2 Rake Version: 12.3.3
Redis Version: 3.2.5 Redis Version: 5.0.9
Sidekiq Version: 2.17.8 Git Version: 2.27.0
Sidekiq Version:5.2.9
Go Version: unknown
GitLab information GitLab information
Version: 7.7.1 Version: 13.2.2-ee
Revision: 41ab9e1 Revision: 618883a1f9d
Directory: /home/git/gitlab Directory: /opt/gitlab/embedded/service/gitlab-rails
DB Adapter: postgresql DB Adapter: PostgreSQL
URL: https://gitlab.example.com DB Version: 11.7
HTTP Clone URL: https://gitlab.example.com/some-project.git URL: http://gitlab.example.com
SSH Clone URL: git@gitlab.example.com:some-project.git HTTP Clone URL: http://gitlab.example.com/some-group/some-project.git
SSH Clone URL: git@gitlab.example.com:some-group/some-project.git
Elasticsearch: no
Geo: no
Using LDAP: no Using LDAP: no
Using Omniauth: no Using Omniauth: yes
Omniauth Providers:
GitLab Shell GitLab Shell
Version: 2.4.1 Version: 13.3.0
Repositories: /home/git/repositories/ Repository storage paths:
Hooks: /home/git/gitlab-shell/hooks/ - default: /var/opt/gitlab/git-data/repositories
Git: /usr/bin/git GitLab Shell path: /opt/gitlab/embedded/service/gitlab-shell
``` ```
## Show GitLab license information **(STARTER ONLY)** ## Show GitLab license information **(STARTER ONLY)**
......
...@@ -19,13 +19,7 @@ The following are the requirements for providing your own Redis instance: ...@@ -19,13 +19,7 @@ The following are the requirements for providing your own Redis instance:
- Redis version 5.0 or higher is recommended, as this is what ships with - Redis version 5.0 or higher is recommended, as this is what ships with
Omnibus GitLab packages starting with GitLab 12.7. Omnibus GitLab packages starting with GitLab 12.7.
- Support for Redis 3.2 is deprecated with GitLab 12.10 and will be completely - GitLab 13.0 and later requires Redis version 4.0 or higher.
removed in GitLab 13.0.
- GitLab 12.0 and later requires Redis version 3.2 or higher. Older Redis
versions do not support an optional count argument to SPOP which is now
required for [Merge Trains](../../ci/merge_request_pipelines/pipelines_for_merged_results/merge_trains/index.md).
- In addition, if Redis 4 or later is available, GitLab makes use of certain
commands like `UNLINK` and `USAGE` which were introduced only in Redis 4.
- Standalone Redis or Redis high availability with Sentinel are supported. Redis - Standalone Redis or Redis high availability with Sentinel are supported. Redis
Cluster is not supported. Cluster is not supported.
- Managed Redis from cloud providers such as AWS ElastiCache will work. If these - Managed Redis from cloud providers such as AWS ElastiCache will work. If these
......
...@@ -5,8 +5,8 @@ require 'redis' ...@@ -5,8 +5,8 @@ require 'redis'
module SystemCheck module SystemCheck
module App module App
class RedisVersionCheck < SystemCheck::BaseCheck class RedisVersionCheck < SystemCheck::BaseCheck
MIN_REDIS_VERSION = '3.2.0' MIN_REDIS_VERSION = '4.0.0'
RECOMMENDED_REDIS_VERSION = '4.0.0' RECOMMENDED_REDIS_VERSION = '4.0.0' # In future we may deprecate but still support Redis 4
set_name "Redis version >= #{RECOMMENDED_REDIS_VERSION}?" set_name "Redis version >= #{RECOMMENDED_REDIS_VERSION}?"
@custom_error_message = '' @custom_error_message = ''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment