You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Na Li (JIRA)" <ji...@apache.org> on 2018/08/10 21:38:00 UTC

[jira] [Updated] (SENTRY-2342) Update schema version verification to support multi-version clusters share same DB

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

Na Li updated SENTRY-2342:
--------------------------
    Attachment: SENTRY-2342.001.patch

> 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
>
>
> 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)