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
I've noticed that my ARTIO application get in a bad state every time they fail to initialise.
Here's what typically happens:
my application start
I try to connect a session with FixLibrary.initiate
The session logon fails. Typically it is an issue with offset where the remote endpoint request a reset
I reset offset, reconnect with FixLibrary.initiate everything is good this time.
It's end of day I request a logout Session.startLogout on each FixLibrary.sessions(). That's when I notice that a log out message is issued twice on the session.
So what I've noticed is that here are duplicates in the pendingInitiatorSessions and sessions, whenever a session fails to logon.
I tried to call releaseToGateway on the fail logon attempt, but it does not help.
When I run it I can see that each initial attempt to connect adds a session to pendingInitiatorSessions. Once we're finally connected, I ended up with multiple session ins sessions.
I've noticed that my ARTIO application get in a bad state every time they fail to initialise.
Here's what typically happens:
FixLibrary.initiate
FixLibrary.initiate
everything is good this time.Session.startLogout
on eachFixLibrary.sessions()
. That's when I notice that a log out message is issued twice on the session.So what I've noticed is that here are duplicates in the
pendingInitiatorSessions
andsessions
, whenever a session fails to logon.I tried to call
releaseToGateway
on the fail logon attempt, but it does not help.I've created a branch where I've set up the SampleServer/SampleClient to fail in such a way, and I print the size of
pendingInitiatorSessions
. It's here: https://github.com/real-logic/artio/compare/master...0x26res:artio:reproduce-issue-with-pending-sessions?expand=1When I run it I can see that each initial attempt to connect adds a session to
pendingInitiatorSessions
. Once we're finally connected, I ended up with multiple session inssessions
.The text was updated successfully, but these errors were encountered: