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

Andrew Kyle Purtell closed HBASE-7510.
--------------------------------------

> RegionTransitionData uses EventType enum index and not the value
> ----------------------------------------------------------------
>
>                 Key: HBASE-7510
>                 URL: https://issues.apache.org/jira/browse/HBASE-7510
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.92.2, 0.94.3
>            Reporter: Matteo Bertozzi
>            Priority: Major
>
> RegionTransitionData.write() uses eventType.ordinal() that is the index in 
> the enum and not the value specified in the enum definition.
> so, to keep compatibility (e.g. rolling upgrades) we can't add stuff in the 
> middle, remove or move around EventHand.EventType items.
> This is just a 0.92/0.94 problem. In trunk/protobuf is fixed since we use 
> eventType.getCode() that returns the assigned value and not the enum index.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to