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

Jeremy Hanna edited comment on CASSANDRA-13019 at 1/2/20 5:18 AM:
------------------------------------------------------------------

I like the idea to reduce the effect on the regular server operations when 
performing the snapshot, especially if there is a coordinated snapshot across 
the cluster.

Because it may affect time it takes for operations that call {{snapshot}} 
indirectly, should we make a note of this in the NEWS.txt - both the 
availability of the throttle and that it may affect time to run things like 
{{truncate}} and {{drop}}?


was (Author: jeromatron):
I like the idea to reduce the effect on the regular server operations when 
performing the snapshot, especially if there is a coordinated snapshot across 
the cluster.

Because it may affect time it takes for operations that call `snapshot` 
indirectly, should we make a note of this in the NEWS.txt - both the 
availability of the throttle and that it may affect time to run things like 
`truncate` and `drop`?

> Improve clearsnapshot to delete the snapshot files slowly 
> ----------------------------------------------------------
>
>                 Key: CASSANDRA-13019
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13019
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Legacy/Core
>            Reporter: Dikang Gu
>            Assignee: Jeff Jirsa
>            Priority: Normal
>              Labels: pull-request-available
>             Fix For: 4.x
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> In our environment, we are creating snapshots for backup, after we finish the 
> backup, we are running {{clearsnapshot}} to delete the snapshot files. At 
> that time we may have thousands of files to delete, and it's causing sudden 
> disk usage spike. As a result, we are experiencing a spike of drop messages 
> from Cassandra.
> I think we should implement something like {{slowrm}} to delete the snapshot 
> files slowly, avoid the sudden disk usage spike.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to