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] [Created] (CASSANDRA-12788) AbstractReplicationStrategy is not extendable from outside the package
Date Fri, 14 Oct 2016 03:25:20 GMT
Kurt Greaves created CASSANDRA-12788:
----------------------------------------

             Summary: 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


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