-
Notifications
You must be signed in to change notification settings - Fork 625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail over retry attempt #250
Comments
Maybe you can outline the changes that you want to introduce into the |
Hi @chrjohn, |
To submit a change so we can modify/merge it:
|
Hi, was this ever added as a PR / merged into a release version by any chance? I tried to look but I couldn't find anything that suggested it had. |
Hi @PetteriPertola , no this has not been merged since there was no PR submitted. |
Thanks. We're seeing a similar issue: If primary host is down when starting up, then the failover mechanism of SocketConnectHost1, SocketConnectPort1 does not work, it just keeps retrying the SocketConnectHost over and over again. |
@PetteriPertola Maybe you can take a stab at a PR? |
Hi guys, I found a funny thing: the failover feature works sometimes, but not always. For the failover test I created a working acceptor at port 9998; and I also created a TCP server at port 9999 to send a reset back to the initiator as soon as it connects:
The TCP server above makes the initiator to try the next host:port. However, if we add a This divergence happens when calling A workaround to this problem case is to add a |
@suguiura |
Hi All, |
Hi All,
I'm really new to this community and this is my 1st comment. We are using QuickFix library for our application. There is a requirement received to handle the fail-over scenario for initiator session as below.
If a disconnection experienced for the primary host(SocketAcceptHost), We should try the same connection for a configurable times.
If all the retry attempts are failed only we need to start trying to the other hosts(SocketAcceptHost1, SocketAcceptHost2...SocketAcceptHost[N]).
As of my understanding, the above requirement is not available with existing code and it seems doable while introducing new parameter to the class "IoSessionInitiator". Please be kind enough to advise me further on this.
As i mentioned, I'm really new to this community and i'm not sure this is the right place to discuss this. If it is not please someone point me to the right direction. Thanks in advance.
The text was updated successfully, but these errors were encountered: