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

SnapshotMetaData.fromXContent does not match toXContent, but throws an Exception #5615

nkvoll opened this Issue Mar 31, 2014 · 3 comments


None yet
3 participants
Copy link

nkvoll commented Mar 31, 2014

Is there any particular reason why fromXContent should raise an Exception, while toXContent serializes the information?

Source at

This seems to cause problems for certain gateways, such as elastic/elasticsearch-cloud-aws#68

@imotov imotov self-assigned this Mar 31, 2014


This comment has been minimized.

Copy link

imotov commented Mar 31, 2014

@nkvoll Thanks for the report. SnapshotMetaData doesn't implement fromXContent because it's not supposed to be serialized as part of persistent cluster state and therefore shouldn't be deserializable when cluster state is restored. I am working on a fix for this issue.


This comment has been minimized.

Copy link

s1monw commented Apr 14, 2014


imotov added a commit to imotov/elasticsearch that referenced this issue Apr 14, 2014


This comment has been minimized.

Copy link

imotov commented Apr 14, 2014

Fixed by #5628

@imotov imotov closed this Apr 14, 2014

mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.