Rolling back from 1.0 to 0.90.12 - Will data be affected?


(Aaron Troy) #1

Hi all,

We upgraded from a previous version (0.90.7) to 1.0 recently, but need to
rollback to a 0.90 version due to our code not accounting for the field
values being returned as arrays instead of strings. Will data be affected
by the rollback, or should things be fine?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/f19252c5-522f-4d95-9f60-627bddeed746%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Nik Everett) #2

There was a lucene upgrade in there so I don't believe you can go back. If
you haven't written anything or optimized then maybe? Unfortunately I
think your best bet it to fix the code.... Look at source filtering which
will return something more familiar.

Sorry,

Nik

On Fri, Mar 7, 2014 at 10:40 AM, Aaron Troy atoy3731@gmail.com wrote:

Hi all,

We upgraded from a previous version (0.90.7) to 1.0 recently, but need to
rollback to a 0.90 version due to our code not accounting for the field
values being returned as arrays instead of strings. Will data be affected
by the rollback, or should things be fine?

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/f19252c5-522f-4d95-9f60-627bddeed746%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/f19252c5-522f-4d95-9f60-627bddeed746%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAPmjWd2gYO1NoVPjD6J8fQv0%3DL4Qujum2a26c0s%3D1G26LFU1Jw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Adrien Grand) #3

I confirm that Elasticsearch only guarantees backward compatibility of the
data, not forward, so really bad things may happen when trying to downgrade
to an older version. For instance, the way versions are stored changed
completely (from payloads to numeric doc values) and although the 1.0
version is aware of how they were stored in 0.90.x, the opposite is not
true so versioning will be broken if you downgrade.

On Fri, Mar 7, 2014 at 4:48 PM, Nikolas Everett nik9000@gmail.com wrote:

There was a lucene upgrade in there so I don't believe you can go back.
If you haven't written anything or optimized then maybe? Unfortunately I
think your best bet it to fix the code.... Look at source filtering which
will return something more familiar.

Sorry,

Nik

On Fri, Mar 7, 2014 at 10:40 AM, Aaron Troy atoy3731@gmail.com wrote:

Hi all,

We upgraded from a previous version (0.90.7) to 1.0 recently, but need to
rollback to a 0.90 version due to our code not accounting for the field
values being returned as arrays instead of strings. Will data be affected
by the rollback, or should things be fine?

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/f19252c5-522f-4d95-9f60-627bddeed746%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/f19252c5-522f-4d95-9f60-627bddeed746%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAPmjWd2gYO1NoVPjD6J8fQv0%3DL4Qujum2a26c0s%3D1G26LFU1Jw%40mail.gmail.comhttps://groups.google.com/d/msgid/elasticsearch/CAPmjWd2gYO1NoVPjD6J8fQv0%3DL4Qujum2a26c0s%3D1G26LFU1Jw%40mail.gmail.com?utm_medium=email&utm_source=footer
.

For more options, visit https://groups.google.com/d/optout.

--
Adrien Grand

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j74mSjEj0JWQgc%2BppkE-AodWYjGmtB5b1XQ7qXTP9oq1g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Aaron Troy) #4

Ah, yes. That's what I was afraid of. Thanks for the info. I don't think
the code will be too awful to update.

On Friday, March 7, 2014 10:48:05 AM UTC-5, Nikolas Everett wrote:

There was a lucene upgrade in there so I don't believe you can go back.
If you haven't written anything or optimized then maybe? Unfortunately I
think your best bet it to fix the code.... Look at source filtering which
will return something more familiar.

Sorry,

Nik

On Fri, Mar 7, 2014 at 10:40 AM, Aaron Troy <atoy...@gmail.com<javascript:>

wrote:

Hi all,

We upgraded from a previous version (0.90.7) to 1.0 recently, but need to
rollback to a 0.90 version due to our code not accounting for the field
values being returned as arrays instead of strings. Will data be affected
by the rollback, or should things be fine?

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/f19252c5-522f-4d95-9f60-627bddeed746%40googlegroups.comhttps://groups.google.com/d/msgid/elasticsearch/f19252c5-522f-4d95-9f60-627bddeed746%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/11241b3b-dd9e-4704-b988-554c06feddb1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #5