[
https://issues.apache.org/jira/browse/CASSANDRA-16815?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yifan Cai updated CASSANDRA-16815:
----------------------------------
Test and Documentation Plan: circle ci; unit test
Status: Patch Available (was: Open)
PR: https://github.com/apache/cassandra/pull/1120
CI:
https://app.circleci.com/pipelines/github/yifan-c/cassandra?branch=CASSANDRA-16815%2Ftrunk
The patch adds a background task to clean up the expired orphaned hints files
that have exceeded the maxHintsTTL and have no endpoints associated with their
host ids.
> Background schedule to clean up orphaned hints files
> ----------------------------------------------------
>
> Key: CASSANDRA-16815
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16815
> Project: Cassandra
> Issue Type: Improvement
> Components: Local/Other
> Reporter: Yifan Cai
> Assignee: Yifan Cai
> Priority: Normal
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Host replacement is possible to produce orphaned hints files that the
> original associated host ID no longer exist in the cluster (i.e., being
> replaced). Those orphaned hints files will not be dispatched and only
> consumes up the disk space.
> We can have a background schedule that infrequently checks and deletes the
> files if they are orphaned and have exceeded the TTL.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]