[ 
https://issues.apache.org/jira/browse/CASSANDRA-9639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15866591#comment-15866591
 ] 

Scott Bale commented on CASSANDRA-9639:
---------------------------------------

If at all possible, could we add this bit of improved logging to 
{{ActiveRepairService.java}} as part of this ticket? We have been frequently 
running into this "Requested range intersects..." error as we try to repair the 
cluster which is what led us to this ticket.

{code}
diff --git a/src/java/org/apache/cassandra/service/ActiveRepairService.java 
b/src/java/org/apache/cassandra/service/ActiveRepairService.java
index bde5313005..18d43ed56f 100644
--- a/src/java/org/apache/cassandra/service/ActiveRepairService.java
+++ b/src/java/org/apache/cassandra/service/ActiveRepairService.java
@@ -220,7 +220,8 @@ public class ActiveRepairService implements 
IEndpointStateChangeSubscriber, IFai
             }
             else if (range.intersects(toRepair))
             {
-                throw new IllegalArgumentException("Requested range intersects 
a local range but is not fully contained in one; this would lead to imprecise 
repair");
+                throw new IllegalArgumentException(String.format("Requested 
range %s intersects a local range %s but is not fully contained in one; this 
would lead to imprecise repair. keyspace: %s", toRepair.toString(), 
range.toString(), keyspaceName));
             }
         }
         if (rangeSuperSet == null || !replicaSets.containsKey(rangeSuperSet))
{code}

> size_estimates is inacurate in multi-dc clusters
> ------------------------------------------------
>
>                 Key: CASSANDRA-9639
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9639
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Sebastian Estevez
>            Assignee: Chris Lohfink
>            Priority: Minor
>             Fix For: 3.0.x
>
>
> CASSANDRA-7688 introduced size_estimates to replace the thrift 
> describe_splits_ex command.
> Users have reported seeing estimates that are widely off in multi-dc clusters.
> system.size_estimates show the wrong range_start / range_end



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to