You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test framework creates a pid file with MultiClusterIndex under jedisPid folder in the current folder (user directory). If you need to fallback to another database endpoint from provided `redis.connection` comma separated list of endpoints, then move the pid file to that index (Indexes are ordered from 1 to however many endpoints you provide)
211
+
#### FaILback Tests:
212
+
The test framework creates a pid file with MultiClusterIndex under jedisPid folder in the current folder (user directory). If you need to failback to another database endpoint from provided `redis.connection` comma separated list of endpoints, then move the pid file to that index (Indexes are ordered from 1 to however many endpoints you provide)
213
213
````bash
214
214
mv jedisPid/1.pid jedisPid/2.pid
215
215
````
@@ -220,7 +220,7 @@ Creating 618 of 100000 key(s) to the benchmark: [.....] 0%
User have requested to fallback to MultiClusterIndex 2
223
+
User have requested to failback to ActiveMultiClusterIndex=2
224
224
Creating 623 of 100000 key(s) to the benchmark: [.....] 0%[Thread-3] WARN redis.clients.jedis.providers.MultiClusterPooledConnectionProvider - CircuitBreaker changed the connection pool from 'cluster:1:127.0.0.1:14002' to 'cluster:2:127.0.0.1:14003'
225
225
````
226
226
````bash
@@ -232,7 +232,7 @@ Creating 1405 of 100000 key(s) to the benchmark: [.....] 1%
User have requested to fallback to MultiClusterIndex 3
235
+
User have requested to failback to ActiveMultiClusterIndex=3
236
236
Creating 1410 of 100000 key(s) to the benchmark: [.....] 1%[Thread-3] WARN redis.clients.jedis.providers.MultiClusterPooledConnectionProvider - CircuitBreaker changed the connection pool from 'cluster:2:127.0.0.1:14003' to 'cluster:3:127.0.0.1:14004'
237
237
Creating 2691 of 100000 key(s) to the benchmark: [.....] 2%
238
238
````
@@ -243,7 +243,7 @@ Expected output:
243
243
````log
244
244
Creating 2691 of 100000 key(s) to the benchmark: [.....] 2%
[Thread-3] WARN redis.clients.jedis.providers.MultiClusterPooledConnectionProvider - CircuitBreaker changed the connection pool from 'cluster:3:127.0.0.1:14004' to 'cluster:1:127.0.0.1:14002'
0 commit comments