cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Corentin Chary (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-13090) Coalescing strategy sleeps too much
Date Thu, 09 Feb 2017 18:47:41 GMT

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

Corentin Chary commented on CASSANDRA-13090:
--------------------------------------------

Sorry, did not build the tests for this branch apparently. Fixed. Pushed to the branch linked
above.

FYI:
{code}
$ git diff
diff --git a/test/unit/org/apache/cassandra/utils/CoalescingStrategiesTest.java b/test/unit/org/apache/cassandra/utils/CoalescingStrategiesTest.java
index 26b6b3a..b10d70b 100644
--- a/test/unit/org/apache/cassandra/utils/CoalescingStrategiesTest.java
+++ b/test/unit/org/apache/cassandra/utils/CoalescingStrategiesTest.java
@@ -106,7 +106,7 @@ public class CoalescingStrategiesTest
     @BeforeClass
     public static void initDD()
     {
-        DatabaseDescriptor.forceStaticInitialization();
+        DatabaseDescriptor.daemonInitialization();
     }
 
     @SuppressWarnings({ "serial" })
{code}

> Coalescing strategy sleeps too much
> -----------------------------------
>
>                 Key: CASSANDRA-13090
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13090
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Streaming and Messaging
>            Reporter: Corentin Chary
>            Assignee: Corentin Chary
>             Fix For: 3.x
>
>         Attachments: 0001-Fix-wait-time-coalescing-CASSANDRA-13090-2.patch, 0001-Fix-wait-time-coalescing-CASSANDRA-13090.patch
>
>
> With the current code maybeSleep is called even if we managed to take maxItems out of
the backlog. In this case we should really avoid sleeping because it means that backlog is
building up.
> I'll send a patch shortly.



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

Mime
View raw message