Enable lazy delete on redis-cache
C3
Production Change - Criticality 3Change Objective | Describe the objective of the change |
---|---|
Change Type | ConfigurationChange |
Services Impacted | List services |
Change Team Members | @mwasilewski-gitlab @igorwwwwwwwwwwwwwwwwwwww |
Change Severity | C3 |
Change Reviewer or tested in staging | The change was tested in staging |
Dry-run output | - |
Due Date | 2020-03-13 11:05:00 UTC |
Time tracking | To estimate and record times associated with changes ( including a possible rollback ) |
Detailed steps for the change
$ ssh redis-cache-01-db-gprd.c.gitlab-production.internal
$ export REDIS_MASTER_AUTH=$(sudo grep ^masterauth /var/opt/gitlab/redis/redis.conf|cut -d\" -f2); /opt/gitlab/embedded/bin/redis-cli -a $REDIS_MASTER_AUTH
-
> config set lazyfree-lazy-eviction yes
Rollback steps
-
> config set lazyfree-lazy-eviction no
Changes checklist
-
Detailed steps and rollback steps have been filled prior to commencing work -
Person on-call has been informed prior to change being rolled out
Edited by Igor