cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-13371) Remove legacy auth tables support
Date Tue, 25 Jul 2017 14:59:00 GMT

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

Robert Stupp updated CASSANDRA-13371:
-------------------------------------
    Reviewer: Robert Stupp

Code looks good to me (pretty much identical to [this branch|https://github.com/apache/cassandra/compare/trunk...snazy:13729-remove-legacy-auth-trunk],
CASSANDRA-13729).

Except, it's missing a startup check and a unit test for that.
The startup check is necessary as people may still be effectively using the old auth tables.

> Remove legacy auth tables support
> ---------------------------------
>
>                 Key: CASSANDRA-13371
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13371
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Stefan Podkowinski
>            Assignee: Stefan Podkowinski
>             Fix For: 4.x
>
>
> Starting with Cassandra 3.0, we include support for converting pre CASSANDRA-7653 user
tables, until they will be dropped by the operator. Converting e.g. permissions happens by
simply copying all of them from {{permissions}} -> {{role_permissions}}, until the {{permissions}}
table has been dropped.
> Upgrading to 4.0 will only be possible from 3.0 upwards, so I think it's safe to assume
that the new permissions table has already been populated, whether the old table was dropped
or not. Therefor I'd suggest to just get rid of the legacy support.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message