|Re: [ecf-dev] Zoodiscovery reconnect issue|
Thanks for the report.Â I suggest you immediately create a bug
with the ecf.discovery Component, and put [Zookeeper] <your title> in the Summary.ÂÂÂ Then please post the new bug url here in reply to this message.
It would be good to do this as soon as possible, as ECF is coming up on its Mars deadlines, and if this bug can be addressed quickly that would likely be best for everyone.
Committer Wim Jongman is probably going to have to look at this and join the bug, as he is the most technically familiar with the Zookeeper discovery provider.
On 4/14/2015 4:11 PM, Yuriy Lopotun wrote:
In our client-server OSGI application we are using ECF Zoodiscovery provider (v.1.0.100) for remote services discovery. When testing the application resiliency, we noticed that when unplugging /plugging back the network cable, the client in some cases doesn't get back the remote OSGI services from the server.
I started debugging this use case and found out that in case of session timeout both Zookeeper itself and Zoodiscovery try reconnecting simultaneously. This results in a connect-disconnect-connect operation instead of just connect and an inconsistent client state â connection finally gets re-established, but the client doesnât ask the server for the remote services.
I think that Zoodiscovery should not trigger disconnect/connect in cases when Zookeeper does it on its own. But in this case we would need to somehow differentiate the disconnect events, which doesn't seem to be possible at the moment, since it comes from Zookeeper.
So, if anyone encountered this or similar issue or has any suggestions for a possible solution or work-around â Iâd appreciate your comments. I can provide references to the blocks of code if need be.
_______________________________________________ ecf-dev mailing list ecf-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/ecf-dev
ecf-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit