[
https://issues.apache.org/jira/browse/PHOENIX-3024?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rajeshbabu Chintaguntla resolved PHOENIX-3024.
----------------------------------------------
Resolution: Fixed
Pushed the changes as part of PHOENIX-3002. Resolving it.
> Upgrade path to 4.8 during connection initialization is not adding
> AUTO_PARTITION_SEQ and APPEND_ONLY_SCHEMA(4.x-HBase-1.0 only)
> --------------------------------------------------------------------------------------------------------------------------------
>
> Key: PHOENIX-3024
> URL: https://issues.apache.org/jira/browse/PHOENIX-3024
> Project: Phoenix
> Issue Type: Bug
> Reporter: Rajeshbabu Chintaguntla
> Assignee: Rajeshbabu Chintaguntla
> Fix For: 4.8.0
>
>
> Some how missed to add AUTO_PARTITION_SEQ and APPEND_ONLY_SCHEMA columns
> during upgrade path.
> {noformat}
> if (currentServerSideTableTimeStamp <
> MetaDataProtocol.MIN_SYSTEM_TABLE_TIMESTAMP_4_8_0) {
> metaConnection =
> addColumnsIfNotExists(metaConnection,
>
> PhoenixDatabaseMetaData.SYSTEM_CATALOG,
>
> MetaDataProtocol.MIN_SYSTEM_TABLE_TIMESTAMP_4_8_0,
>
> PhoenixDatabaseMetaData.IS_NAMESPACE_MAPPED + " "
> +
> PBoolean.INSTANCE.getSqlTypeName());
> metaConnection =
> disableViewIndexes(metaConnection);
>
> ConnectionQueryServicesImpl.this.removeTable(null,
>
> PhoenixDatabaseMetaData.SYSTEM_CATALOG_NAME, null,
>
> MetaDataProtocol.MIN_SYSTEM_TABLE_TIMESTAMP_4_8_0);
> clearCache();
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)