[ 
https://issues.apache.org/jira/browse/SENTRY-2342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16581325#comment-16581325
 ] 

Sergio Peña commented on SENTRY-2342:
-------------------------------------

[~LinaAtAustin] Have you verified in a real environment that the DB and Sentry 
versions are indeed compatible? I see unit tests check that, but there are no 
tests that use a DB version different than a Sentry version and test that. 

> Update schema version verification to support multi-version clusters share 
> same DB
> ----------------------------------------------------------------------------------
>
>                 Key: SENTRY-2342
>                 URL: https://issues.apache.org/jira/browse/SENTRY-2342
>             Project: Sentry
>          Issue Type: New Feature
>          Components: Sentry
>    Affects Versions: 2.1.0
>            Reporter: Na Li
>            Assignee: Na Li
>            Priority: Critical
>         Attachments: SENTRY-2342.001.patch, SENTRY-2342.001.patch
>
>
> Right now, sentry software has the schema version it supports hard-coded, and 
> before starting its service, it gets schema version from DB and compare these 
> two values. If they are not equal, exception will be thrown and sentry 
> service won't start.
> To support sentry services with different versions that connect to the same 
> DB at the same time, the schema version checking behavior has to be changed 
> to allow sentry software with older version to work with DB with newer schema 
> version.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to