Skip to content

ServiceProxy creation before all replicas are ready #117

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

Open
Christoph-Denzel opened this issue Mar 3, 2025 · 1 comment
Open

ServiceProxy creation before all replicas are ready #117

Christoph-Denzel opened this issue Mar 3, 2025 · 1 comment

Comments

@Christoph-Denzel
Copy link

If a ServiceProxy is created before all replicas are ready and a reconnect is triggered in NettyClientServerCommunicationSystemClientSide and afterwards the replicas connect, but no message was issued, line 237 causes a NullPointerException.

@rvassantlal
Copy link
Contributor

The client-side implementation was tested after the servers in the initial view were ready.
The code throws an exception because the mechanism for reconnecting assumes it will be used after the system is working correctly. If you start the client before the servers are ready, it schedules a reconnect and tries to send the previous message (which was null) after the connection with the servers is established.

Thank you for the report!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants