cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dikang Gu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10574) Add the option to skip compaction for hints cf when doing the handoff.
Date Fri, 13 Nov 2015 20:57:11 GMT

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

Dikang Gu commented on CASSANDRA-10574:
---------------------------------------

[~iamaleksey] thanks for the review. In this patch, I add options and make it to be tunable.
So we can have the options to tune the compaction before hints handoff. I know it won't fix
the issue fundamentally, but it will give us more options to set it according to different
work load. Does it make sense?

> Add the option to skip compaction for hints cf when doing the handoff.
> ----------------------------------------------------------------------
>
>                 Key: CASSANDRA-10574
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10574
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Dikang Gu
>            Assignee: Dikang Gu
>         Attachments: hints.patch
>
>
> In our production env, we stop the gossip for about 1 hour on around 1/3 of nodes, and
then we enable the gossip and it took very long time for the other 2/3 nodes to do the hints
handoff.
> I find that most of the time is spent to do the compaction before each hints handoff,
while in most case, there is only one sstable, and it's really not necessary to do the compaction.
> So I add the option to skip the compaction to allow the nodes to finish hints handoff
very quickly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message