You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Varun Thacker (JIRA)" <ji...@apache.org> on 2014/03/06 13:32:44 UTC

[jira] [Updated] (SOLR-5265) Add backward compatibility tests to JavaBinCodec's format.

     [ https://issues.apache.org/jira/browse/SOLR-5265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Varun Thacker updated SOLR-5265:
--------------------------------

    Attachment: SOLR-5265.patch

An attempt at tackling this Jira -
1. The test will ensure that if we ever change the byte values of existing variables in JavaBinCodec or if we write a type differently it will fail
2. If new types are added to JavaBinCodec the test case and the binary file will have to be updated again

There are a couple of nocommits but I wanted to know if I am on the right track.

> Add backward compatibility tests to JavaBinCodec's format.
> ----------------------------------------------------------
>
>                 Key: SOLR-5265
>                 URL: https://issues.apache.org/jira/browse/SOLR-5265
>             Project: Solr
>          Issue Type: Test
>            Reporter: Adrien Grand
>            Priority: Blocker
>             Fix For: 4.7
>
>         Attachments: SOLR-5265.patch
>
>
> Since Solr guarantees backward compatibility of JavaBinCodec's format between releases, we should have tests for it.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org