Skip to content
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

[TRACKING ISSUE] [API-1531] Send client state to cluster in re-connections [API-1583] #1366

Closed
hz-devops-test opened this issue Sep 13, 2022 · 2 comments

Comments

@hz-devops-test
Copy link

The tracking issue for the Java side PR.

See hazelcast/hazelcast#22164 for details.


In split-brain scenarios, the cluster id stays the same for different halves of the split.

When the client disconnects from the first half it was connected to and reconnects to the other half, from the point of view of the client, it connects to the same cluster.

However, it might very well be the case that, the client has sent some state to the first half of the cluster, and that state must be replicated to the other half when the client reconnects to it.

This is especially needed for Compact schemas and user code deployment classes.

In this PR, we are sending the client state to the cluster after reconnections, regardless it is connected back to possibly the same cluster with the same id or not.

@srknzl srknzl added this to the Backlog milestone Sep 29, 2022
@github-actions github-actions bot changed the title [TRACKING ISSUE] [API-1531] Send client state to cluster in re-connections [TRACKING ISSUE] [API-1531] Send client state to cluster in re-connections [API-1583] Sep 29, 2022
@github-actions
Copy link

Internal Jira issue: API-1583

@srknzl srknzl modified the milestones: Backlog, 5.2.0 Sep 29, 2022
@mdumandag
Copy link
Contributor

I am closing this, as the changes are ported to Node.js with #1415

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

No branches or pull requests

3 participants