Commit 1e74fb9
committed
Trigger topology refresh on CLUSTERDOWN
When Redis cluster topology changes quickly, we may encounter a replica
that was detached from its master and removed from the cluster. The
driver, however, may still have this replica in topology. Sending
requests to this replica trigger CLUSTERDOWN responses. To facilitate
faster recovery we may force topology request. This is exactly what this
commit does.1 parent b0afaee commit 1e74fb9
2 files changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
0 commit comments