Skip to content

Commit 6925030

Browse files
committed
Investigate server failures during 8.4 tests
1 parent d1cea54 commit 6925030

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/actions/run-tests/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ runs:
142142
sudo apt-get install -y redis-tools
143143
echo "Docker Containers:"
144144
docker ps
145+
echo "Cluster nodes:"
145146
redis-cli -p 16379 CLUSTER NODES
146147
shell: bash
147148

dockers/sentinel.conf

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
sentinel resolve-hostnames yes
22
sentinel monitor redis-py-test redis 6379 2
3-
sentinel down-after-milliseconds redis-py-test 5000
4-
sentinel failover-timeout redis-py-test 60000
3+
# Be much more tolerant to transient stalls (index builds, GC, I/O)
4+
sentinel down-after-milliseconds redis-py-test 60000
5+
# Avoid rapid repeated failover attempts
6+
sentinel failover-timeout redis-py-test 180000
7+
# Keep it conservative: sync one replica at a time
58
sentinel parallel-syncs redis-py-test 1

0 commit comments

Comments
 (0)