Skip to content

Commit cf6e5ed

Browse files
author
Richard Antal
committed
PHOENIX-7715 Bump phoenix version after 5.3 release
1 parent 5466a0d commit cf6e5ed

File tree

17 files changed

+32
-33
lines changed

17 files changed

+32
-33
lines changed

phoenix-assembly/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>org.apache.phoenix</groupId>
2222
<artifactId>phoenix</artifactId>
23-
<version>5.3.0-SNAPSHOT</version>
23+
<version>5.4.0-SNAPSHOT</version>
2424
</parent>
2525
<artifactId>phoenix-assembly</artifactId>
2626
<packaging>pom</packaging>

phoenix-client-parent/phoenix-client-embedded/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>org.apache.phoenix</groupId>
2222
<artifactId>phoenix-client-parent</artifactId>
23-
<version>5.3.0-SNAPSHOT</version>
23+
<version>5.4.0-SNAPSHOT</version>
2424
</parent>
2525

2626
<artifactId>phoenix-client-embedded-${hbase.suffix}</artifactId>

phoenix-client-parent/phoenix-client-lite/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>org.apache.phoenix</groupId>
2222
<artifactId>phoenix-client-parent</artifactId>
23-
<version>5.3.0-SNAPSHOT</version>
23+
<version>5.4.0-SNAPSHOT</version>
2424
</parent>
2525

2626
<artifactId>phoenix-client-lite-${hbase.suffix}</artifactId>

phoenix-client-parent/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>org.apache.phoenix</groupId>
2222
<artifactId>phoenix</artifactId>
23-
<version>5.3.0-SNAPSHOT</version>
23+
<version>5.4.0-SNAPSHOT</version>
2424
</parent>
2525
<artifactId>phoenix-client-parent</artifactId>
2626
<packaging>pom</packaging>

phoenix-core-client/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>org.apache.phoenix</groupId>
2323
<artifactId>phoenix</artifactId>
24-
<version>5.3.0-SNAPSHOT</version>
24+
<version>5.4.0-SNAPSHOT</version>
2525
</parent>
2626
<artifactId>phoenix-core-client</artifactId>
2727
<name>Phoenix Core Client</name>

phoenix-core-client/src/main/java/org/apache/phoenix/coprocessorclient/MetaDataProtocol.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
*/
5757
public abstract class MetaDataProtocol extends MetaDataService {
5858
public static final int PHOENIX_MAJOR_VERSION = 5;
59-
public static final int PHOENIX_MINOR_VERSION = 3;
59+
public static final int PHOENIX_MINOR_VERSION = 4;
6060

6161
public static final int PHOENIX_PATCH_NUMBER = 0;
6262
public static final int PHOENIX_VERSION =
@@ -92,9 +92,10 @@ public abstract class MetaDataProtocol extends MetaDataService {
9292
public static final long MIN_SYSTEM_TABLE_TIMESTAMP_5_1_0 = MIN_SYSTEM_TABLE_TIMESTAMP_4_16_0;
9393
public static final long MIN_SYSTEM_TABLE_TIMESTAMP_5_2_0 = MIN_TABLE_TIMESTAMP + 38;
9494
public static final long MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0 = MIN_TABLE_TIMESTAMP + 42;
95+
public static final long MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0 = MIN_TABLE_TIMESTAMP + 43;
9596
// MIN_SYSTEM_TABLE_TIMESTAMP needs to be set to the max of all the MIN_SYSTEM_TABLE_TIMESTAMP_*
9697
// constants
97-
public static final long MIN_SYSTEM_TABLE_TIMESTAMP = MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0;
98+
public static final long MIN_SYSTEM_TABLE_TIMESTAMP = MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0;
9899

99100
// Version below which we should disallow usage of mutable secondary indexing.
100101
public static final int MUTABLE_SI_VERSION_THRESHOLD = VersionUtil.encodeVersion("0", "94", "10");
@@ -151,6 +152,7 @@ public abstract class MetaDataProtocol extends MetaDataService {
151152
TIMESTAMP_VERSION_MAP.put(MIN_SYSTEM_TABLE_TIMESTAMP_5_1_0, "5.1.x");
152153
TIMESTAMP_VERSION_MAP.put(MIN_SYSTEM_TABLE_TIMESTAMP_5_2_0, "5.2.x");
153154
TIMESTAMP_VERSION_MAP.put(MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0, "5.3.x");
155+
TIMESTAMP_VERSION_MAP.put(MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0, "5.4.x");
154156
}
155157

156158
public static final String CURRENT_CLIENT_VERSION =

phoenix-core-client/src/main/java/org/apache/phoenix/query/ConnectionQueryServicesImpl.java

Lines changed: 13 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
import static org.apache.phoenix.coprocessorclient.MetaDataProtocol.MIN_SYSTEM_TABLE_TIMESTAMP;
2929
import static org.apache.phoenix.coprocessorclient.MetaDataProtocol.MIN_SYSTEM_TABLE_TIMESTAMP_4_15_0;
3030
import static org.apache.phoenix.coprocessorclient.MetaDataProtocol.MIN_SYSTEM_TABLE_TIMESTAMP_4_16_0;
31-
import static org.apache.phoenix.coprocessorclient.MetaDataProtocol.MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0;
31+
import static org.apache.phoenix.coprocessorclient.MetaDataProtocol.MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0;
3232
import static org.apache.phoenix.coprocessorclient.MetaDataProtocol.PHOENIX_MAJOR_VERSION;
3333
import static org.apache.phoenix.coprocessorclient.MetaDataProtocol.PHOENIX_MINOR_VERSION;
3434
import static org.apache.phoenix.coprocessorclient.MetaDataProtocol.PHOENIX_PATCH_NUMBER;
@@ -4741,44 +4741,41 @@ protected PhoenixConnection upgradeSystemCatalogIfRequired(PhoenixConnection met
47414741
}
47424742
}
47434743
}
4744-
if (currentServerSideTableTimeStamp < MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0) {
4744+
if (currentServerSideTableTimeStamp < MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0) {
47454745
metaConnection = addColumnsIfNotExists(metaConnection, PhoenixDatabaseMetaData.SYSTEM_CATALOG,
4746-
MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0 - 8,
4746+
MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0 - 9,
47474747
PhoenixDatabaseMetaData.PHYSICAL_TABLE_NAME + " " + PVarchar.INSTANCE.getSqlTypeName());
47484748
metaConnection = addColumnsIfNotExists(metaConnection, PhoenixDatabaseMetaData.SYSTEM_CATALOG,
4749-
MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0 - 7,
4749+
MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0 - 8,
47504750
PhoenixDatabaseMetaData.SCHEMA_VERSION + " " + PVarchar.INSTANCE.getSqlTypeName());
47514751
metaConnection = addColumnsIfNotExists(metaConnection, PhoenixDatabaseMetaData.SYSTEM_CATALOG,
4752-
MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0 - 6,
4752+
MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0 - 7,
47534753
PhoenixDatabaseMetaData.EXTERNAL_SCHEMA_ID + " " + PVarchar.INSTANCE.getSqlTypeName());
47544754
metaConnection = addColumnsIfNotExists(metaConnection, PhoenixDatabaseMetaData.SYSTEM_CATALOG,
4755-
MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0 - 5,
4755+
MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0 - 6,
47564756
PhoenixDatabaseMetaData.STREAMING_TOPIC_NAME + " " + PVarchar.INSTANCE.getSqlTypeName());
47574757
metaConnection = addColumnsIfNotExists(metaConnection, PhoenixDatabaseMetaData.SYSTEM_CATALOG,
4758-
MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0 - 4,
4758+
MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0 - 5,
47594759
PhoenixDatabaseMetaData.INDEX_WHERE + " " + PVarchar.INSTANCE.getSqlTypeName());
47604760
metaConnection = addColumnsIfNotExists(metaConnection, PhoenixDatabaseMetaData.SYSTEM_CATALOG,
4761-
MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0 - 3,
4761+
MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0 - 4,
47624762
PhoenixDatabaseMetaData.CDC_INCLUDE_TABLE + " " + PVarchar.INSTANCE.getSqlTypeName());
47634763

47644764
/**
47654765
* TODO: Provide a path to copy existing data from PHOENIX_TTL to TTL column and then to DROP
47664766
* PHOENIX_TTL Column. See PHOENIX-7023
47674767
*/
47684768
metaConnection = addColumnsIfNotExists(metaConnection, PhoenixDatabaseMetaData.SYSTEM_CATALOG,
4769-
MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0 - 2,
4769+
MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0 - 3,
47704770
PhoenixDatabaseMetaData.TTL + " " + PVarchar.INSTANCE.getSqlTypeName());
47714771
metaConnection = addColumnsIfNotExists(metaConnection, PhoenixDatabaseMetaData.SYSTEM_CATALOG,
4772-
MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0 - 1,
4772+
MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0 - 2,
47734773
PhoenixDatabaseMetaData.ROW_KEY_MATCHER + " " + PVarbinary.INSTANCE.getSqlTypeName());
47744774
metaConnection = addColumnsIfNotExists(metaConnection, PhoenixDatabaseMetaData.SYSTEM_CATALOG,
4775-
MIN_SYSTEM_TABLE_TIMESTAMP_5_3_0,
4775+
MIN_SYSTEM_TABLE_TIMESTAMP_5_4_0 - 1,
47764776
PhoenixDatabaseMetaData.IS_STRICT_TTL + " " + PBoolean.INSTANCE.getSqlTypeName());
4777-
// Values in PHOENIX_TTL column will not be used for further release as PHOENIX_TTL column is
4778-
// being deprecated
4779-
// and will be removed in later release. To copy copyDataFromPhoenixTTLtoTTL(metaConnection)
4780-
// can be used but
4781-
// as that feature was not fully built we are not moving old value to new column
4777+
// Add any 5.4.0 specific upgrade logic here if needed in the future
4778+
// Currently no new schema changes required for 5.4.0
47824779

47834780
// move TTL values stored in descriptor to SYSCAT TTL column.
47844781
moveTTLFromHBaseLevelTTLToPhoenixLevelTTL(metaConnection);

phoenix-core-server/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>org.apache.phoenix</groupId>
2222
<artifactId>phoenix</artifactId>
23-
<version>5.3.0-SNAPSHOT</version>
23+
<version>5.4.0-SNAPSHOT</version>
2424
</parent>
2525
<artifactId>phoenix-core-server</artifactId>
2626
<name>Phoenix Core Server</name>

phoenix-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>org.apache.phoenix</groupId>
2222
<artifactId>phoenix</artifactId>
23-
<version>5.3.0-SNAPSHOT</version>
23+
<version>5.4.0-SNAPSHOT</version>
2424
</parent>
2525
<artifactId>phoenix-core</artifactId>
2626
<name>Phoenix Core</name>

phoenix-hbase-compat-2.5.0/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>org.apache.phoenix</groupId>
2222
<artifactId>phoenix</artifactId>
23-
<version>5.3.0-SNAPSHOT</version>
23+
<version>5.4.0-SNAPSHOT</version>
2424
</parent>
2525

2626
<artifactId>phoenix-hbase-compat-2.5.0</artifactId>

0 commit comments

Comments
 (0)