Commit c2d1fa5
authored
glusterfsd/mgmt: Connect backup volfile-server in round robin (#4167)
Once we establish a connection with volfile-server, if that
connection looses, then we try to connect to the ony be one
till the last one on the list. Once we reach the last one,
we never go back to the first one. So if the last one is down
we will fail to connect to that node until it comes back
Change-Id: I8fe801fb536879d13a3c84eb2d935932b44dbaf5
Fixes: #4166
Signed-off-by: Mohammed Rafi KC <[email protected]>1 parent 8e2fd0b commit c2d1fa5
2 files changed
+33
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
819 | 819 | | |
820 | 820 | | |
821 | 821 | | |
| 822 | + | |
822 | 823 | | |
823 | 824 | | |
824 | 825 | | |
| |||
854 | 855 | | |
855 | 856 | | |
856 | 857 | | |
857 | | - | |
858 | | - | |
859 | | - | |
860 | | - | |
861 | | - | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
| 865 | + | |
| 866 | + | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
| 874 | + | |
| 875 | + | |
| 876 | + | |
862 | 877 | | |
863 | | - | |
864 | 878 | | |
865 | 879 | | |
866 | 880 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2817 | 2817 | | |
2818 | 2818 | | |
2819 | 2819 | | |
| 2820 | + | |
| 2821 | + | |
| 2822 | + | |
| 2823 | + | |
| 2824 | + | |
| 2825 | + | |
| 2826 | + | |
| 2827 | + | |
| 2828 | + | |
| 2829 | + | |
| 2830 | + | |
2820 | 2831 | | |
2821 | | - | |
2822 | | - | |
2823 | | - | |
2824 | | - | |
| 2832 | + | |
| 2833 | + | |
2825 | 2834 | | |
2826 | | - | |
2827 | 2835 | | |
2828 | 2836 | | |
2829 | 2837 | | |
| |||
0 commit comments