cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jji...@apache.org
Subject [3/6] cassandra git commit: Make AbstractReplicationStrategy extendable from outside its package
Date Mon, 07 Nov 2016 04:46:31 GMT
Make AbstractReplicationStrategy extendable from outside its package

Patch by Kurt Greaves; Reviewed by Jeff Jirsa for CASSANDRA-12788


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/f7aa3714
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/f7aa3714
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/f7aa3714

Branch: refs/heads/trunk
Commit: f7aa37142087d93e180b7f7ef8a744543044548f
Parents: c3f24ef
Author: Kurt <kurt@instaclustr.com>
Authored: Wed Oct 19 02:34:36 2016 +0000
Committer: Jeff Jirsa <jeff.jirsa@crowdstrike.com>
Committed: Sun Nov 6 20:38:45 2016 -0800

----------------------------------------------------------------------
 CHANGES.txt                                                        | 1 +
 .../org/apache/cassandra/locator/AbstractReplicationStrategy.java  | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/f7aa3714/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index 9d431a9..f708602 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 3.0.10
+ * Make AbstractReplicationStrategy extendable from outside its package (CASSANDRA-12788)
  * Fix CommitLogTest.testDeleteIfNotDirty (CASSANDRA-12854)
  * Don't tell users to turn off consistent rangemovements during rebuild. (CASSANDRA-12296)
  * Avoid deadlock due to materialized view lock contention (CASSANDRA-12689)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/f7aa3714/src/java/org/apache/cassandra/locator/AbstractReplicationStrategy.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/locator/AbstractReplicationStrategy.java b/src/java/org/apache/cassandra/locator/AbstractReplicationStrategy.java
index c90c6a1..b326e1c 100644
--- a/src/java/org/apache/cassandra/locator/AbstractReplicationStrategy.java
+++ b/src/java/org/apache/cassandra/locator/AbstractReplicationStrategy.java
@@ -60,7 +60,7 @@ public abstract class AbstractReplicationStrategy
 
     public IEndpointSnitch snitch;
 
-    AbstractReplicationStrategy(String keyspaceName, TokenMetadata tokenMetadata, IEndpointSnitch
snitch, Map<String, String> configOptions)
+    protected AbstractReplicationStrategy(String keyspaceName, TokenMetadata tokenMetadata,
IEndpointSnitch snitch, Map<String, String> configOptions)
     {
         assert keyspaceName != null;
         assert snitch != null;


Mime
View raw message