phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Taylor (JIRA)" <>
Subject [jira] [Commented] (PHOENIX-3010) Allow optional rolling restart for major release
Date Mon, 20 Jun 2016 19:45:58 GMT


James Taylor commented on PHOENIX-3010:

It would be a client-side config that simply prevents the throwing of the INCOMPATIBLE_CLIENT_SERVER_JAR
by modifying this ConnectionQueryServicesImpl code and MetaDataUtil.areClientAndServerCompatible():
    private static boolean isCompatible(Long serverVersion) {
        if (serverVersion == null) {
            return false;
        // TODO pass through if major version mismatch allowed
        return MetaDataUtil.areClientAndServerCompatible(serverVersion); 

> Allow optional rolling restart for major release 
> -------------------------------------------------
>                 Key: PHOENIX-3010
>                 URL:
>             Project: Phoenix
>          Issue Type: Improvement
>            Reporter: James Taylor
>            Assignee: Samarth Jain
> If the major version number of the client does not match the major version of the server,
the client is not allowed to connect to the server. However, sometimes a major release may
make breaking changes to features that are not being used by users. In that case, an older
client (i.e. 4.x) would work fine against a new server (i.e. 5.0). We should have a config
parameter, something like {{phoenix.connection.allowPriorMajorVersion}} that allows this connection
to take place, but defaults to false.

This message was sent by Atlassian JIRA

View raw message