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

Prepare Splout for allowing rolling upgrades #44

Open
ivanprado opened this issue Dec 9, 2014 · 0 comments
Open

Prepare Splout for allowing rolling upgrades #44

ivanprado opened this issue Dec 9, 2014 · 0 comments

Comments

@ivanprado
Copy link
Contributor

Currently Splout doesn't support rolling upgrades when beans related with API or with Hazelcast changes. This is mainly due to two limitations:

  1. JSON serialization/deserializacion failing when not matching properties.
  2. Hazelcast using Java Serialization

The first problem can be solved by tagging API beans with @JsonIgnoreProperties(ignoreUnknown = true) and develop upgrades carefully so that old systems keep working with new ones.

The second problem can be solved by using Hazelcast Portable for Hazelcast beans: http://docs.hazelcast.org/docs/latest/manual/html/portableserialization.html

Implementing that will allow to change slightly the API or some Hazelcast beans without needing to stop the whole cluster. Anyway, mayor changes still will need complete restarts.

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

1 participant