cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kurt Greaves (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-12788) AbstractReplicationStrategy is not extendable from outside the package
Date Fri, 14 Oct 2016 03:26:20 GMT

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

Kurt Greaves updated CASSANDRA-12788:
-------------------------------------
    Attachment: 12788.patch

> AbstractReplicationStrategy is not extendable from outside the package
> ----------------------------------------------------------------------
>
>                 Key: CASSANDRA-12788
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12788
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Kurt Greaves
>         Attachments: 12788.patch
>
>
> The constructor for ARS is package-private (no modifier), which means that custom RS
implementations cannot call it. That is, calling super(...) fails unless you create your replication
strategy inside org.apache.cassandra.locator. This obviously isn't ideal.
> I propose adding protected to the constructor in ARS. The attached patch was against
trunk however I believe it should work for 2.1, 2.2, 3.0, and 3.x.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message