[jira] [Updated] (CASSANDRA-12788) AbstractReplicationStrategy is not extendable from outside the package
[ https://issues.apache.org/jira/browse/CASSANDRA-12788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeff Jirsa updated CASSANDRA-12788: --- Resolution: Fixed Fix Version/s: (was: 3.0.x) (was: 3.x) 3.10 3.0.10 Reproduced In: 3.0.9, 2.2.8, 2.1.16, 2.0.17, 3.x (was: 2.0.17, 2.1.16, 2.2.8, 3.0.9, 3.x) Status: Resolved (was: Patch Available) Committed in {{f7aa37142087d93e180b7f7ef8a744543044548f}}, thanks! > AbstractReplicationStrategy is not extendable from outside the package > -- > > Key: CASSANDRA-12788 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12788 > Project: Cassandra > Issue Type: New Feature >Reporter: Kurt Greaves >Assignee: Kurt Greaves > Fix For: 3.0.10, 3.10 > > Attachments: 12788-3.0.patch, 12788-3.10.patch, 12788-trunk.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)
[jira] [Updated] (CASSANDRA-12788) AbstractReplicationStrategy is not extendable from outside the package
[ https://issues.apache.org/jira/browse/CASSANDRA-12788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kurt Greaves updated CASSANDRA-12788: - Attachment: (was: 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: New Feature >Reporter: Kurt Greaves >Assignee: Kurt Greaves > Fix For: 3.0.x, 3.x > > Attachments: 12788-3.0.patch, 12788-3.10.patch, 12788-trunk.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)
[jira] [Updated] (CASSANDRA-12788) AbstractReplicationStrategy is not extendable from outside the package
[ https://issues.apache.org/jira/browse/CASSANDRA-12788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kurt Greaves updated CASSANDRA-12788: - Attachment: 12788-trunk.patch 12788-3.10.patch 12788-3.0.patch Sounds reasonable to me. I've attached patch files for each branch. > AbstractReplicationStrategy is not extendable from outside the package > -- > > Key: CASSANDRA-12788 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12788 > Project: Cassandra > Issue Type: New Feature >Reporter: Kurt Greaves >Assignee: Kurt Greaves > Fix For: 3.0.x, 3.x > > Attachments: 12788-3.0.patch, 12788-3.10.patch, 12788-trunk.patch, > 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)
[jira] [Updated] (CASSANDRA-12788) AbstractReplicationStrategy is not extendable from outside the package
[ https://issues.apache.org/jira/browse/CASSANDRA-12788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeff Jirsa updated CASSANDRA-12788: --- Reproduced In: 3.0.9, 2.2.8, 2.1.16, 2.0.17, 3.x (was: 2.0.17, 2.1.16, 2.2.8, 3.0.9, 3.x) Reviewer: Jeff Jirsa > AbstractReplicationStrategy is not extendable from outside the package > -- > > Key: CASSANDRA-12788 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12788 > Project: Cassandra > Issue Type: New Feature >Reporter: Kurt Greaves >Assignee: Kurt Greaves > Fix For: 3.0.x, 3.x > > 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)
[jira] [Updated] (CASSANDRA-12788) AbstractReplicationStrategy is not extendable from outside the package
[ https://issues.apache.org/jira/browse/CASSANDRA-12788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeff Jirsa updated CASSANDRA-12788: --- Fix Version/s: 3.x 3.0.x > AbstractReplicationStrategy is not extendable from outside the package > -- > > Key: CASSANDRA-12788 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12788 > Project: Cassandra > Issue Type: New Feature >Reporter: Kurt Greaves >Assignee: Kurt Greaves > Fix For: 3.0.x, 3.x > > 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)
[jira] [Updated] (CASSANDRA-12788) AbstractReplicationStrategy is not extendable from outside the package
[ https://issues.apache.org/jira/browse/CASSANDRA-12788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeff Jirsa updated CASSANDRA-12788: --- Assignee: Kurt Greaves > AbstractReplicationStrategy is not extendable from outside the package > -- > > Key: CASSANDRA-12788 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12788 > Project: Cassandra > Issue Type: New Feature >Reporter: Kurt Greaves >Assignee: Kurt Greaves > Fix For: 3.0.x > > 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)
[jira] [Updated] (CASSANDRA-12788) AbstractReplicationStrategy is not extendable from outside the package
[ https://issues.apache.org/jira/browse/CASSANDRA-12788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeremiah Jordan updated CASSANDRA-12788: Issue Type: New Feature (was: Bug) > AbstractReplicationStrategy is not extendable from outside the package > -- > > Key: CASSANDRA-12788 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12788 > Project: Cassandra > Issue Type: New Feature >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)
[jira] [Updated] (CASSANDRA-12788) AbstractReplicationStrategy is not extendable from outside the package
[ https://issues.apache.org/jira/browse/CASSANDRA-12788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jeff Jirsa updated CASSANDRA-12788: --- Reproduced In: 3.0.9, 2.2.8, 2.1.16, 2.0.17, 3.x (was: 2.0.17, 2.1.16, 2.2.8, 3.0.9, 3.x) Status: Patch Available (was: Awaiting Feedback) > 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)
[jira] [Updated] (CASSANDRA-12788) AbstractReplicationStrategy is not extendable from outside the package
[ https://issues.apache.org/jira/browse/CASSANDRA-12788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kurt Greaves updated CASSANDRA-12788: - Reproduced In: 3.0.9, 2.2.8, 2.1.16, 2.0.17, 3.x (was: 2.0.17, 2.1.16, 2.2.8, 3.0.9, 3.x) Status: Awaiting Feedback (was: Open) > 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)
[jira] [Updated] (CASSANDRA-12788) AbstractReplicationStrategy is not extendable from outside the package
[ https://issues.apache.org/jira/browse/CASSANDRA-12788?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kurt Greaves updated CASSANDRA-12788: - Reproduced In: 3.0.9, 2.2.8, 2.1.16, 2.0.17, 3.x Since Version: 2.0 beta 1 > 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)
[jira] [Updated] (CASSANDRA-12788) AbstractReplicationStrategy is not extendable from outside the package
[ 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)