cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Kapilevich (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-5408) Disabling Hinted Handoffs should stop them from being sent
Date Sun, 31 Mar 2013 17:35:15 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-5408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matt Kapilevich updated CASSANDRA-5408:
---------------------------------------

    Description: 
Right now, if hinted_handoff_enabled is set to false, it stops new Hinted Handoffs from being
written, but the existing ones are still being sent. I believe this is incorrect.

On our cluster, we have disabled Hinted Handoffs, and a week later they are still being sent
to other nodes, and are still being compacted. This clearly is not the desired behavior. I
cannot think of a scenario when one would want to keep receiving Hinted Handoffs after explicitly
turning them off. By turning them off, you've already stated that some data loss and inconsistency
is acceptable.

A more aggressive strategy would be to remove from disk all the HintsColumnFamily* files on
startup, if Hinted Handoffs were turned off. This would prevent them from being sent, and
the existing ones from still being compacted.
    
> Disabling Hinted Handoffs should stop them from being sent
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-5408
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5408
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: 1.0.11
>            Reporter: Matt Kapilevich
>
> Right now, if hinted_handoff_enabled is set to false, it stops new Hinted Handoffs from
being written, but the existing ones are still being sent. I believe this is incorrect.
> On our cluster, we have disabled Hinted Handoffs, and a week later they are still being
sent to other nodes, and are still being compacted. This clearly is not the desired behavior.
I cannot think of a scenario when one would want to keep receiving Hinted Handoffs after explicitly
turning them off. By turning them off, you've already stated that some data loss and inconsistency
is acceptable.
> A more aggressive strategy would be to remove from disk all the HintsColumnFamily* files
on startup, if Hinted Handoffs were turned off. This would prevent them from being sent, and
the existing ones from still being compacted.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message