You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geode.apache.org by "Bruce Schuchardt (JIRA)" <ji...@apache.org> on 2017/03/23 15:37:41 UTC

[jira] [Created] (GEODE-2709) modify backward-compatibility support to work better with geode

Bruce Schuchardt created GEODE-2709:
---------------------------------------

             Summary: modify backward-compatibility support to work better with geode
                 Key: GEODE-2709
                 URL: https://issues.apache.org/jira/browse/GEODE-2709
             Project: Geode
          Issue Type: Improvement
          Components: serialization
            Reporter: Bruce Schuchardt


Backward-compatibility support currently pays attention to a version's Product name and its compareTo method pays attention to the major/minor/etc numerals.  This is an artifact of the GemFireXD effort at Pivotal a few years ago and should be removed.  The Product name is no longer needed at all and compareTo should just compare the version ordinals.

All places that compare versions should be scrutinized to make sure this change doesn't break anything.

All methods with names beginning with  toDataPre_ or fromDataPre_ need to be changed to remove the product name and the sanctionedDataSerializables.txt database needs to be updated to have these new method names and fingerprints (generated by the AnalyzeSerializablesJUnitTest).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)