[jira] [Commented] (CASSANDRA-13019) Improve clearsnapshot command to delete the snapshot files slowly.
[ https://issues.apache.org/jira/browse/CASSANDRA-13019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16969715#comment-16969715 ] maxwellguo commented on CASSANDRA-13019: Hi [~jjirsa], I am glad to review your patch . For this patch , I just throttle the delete of the snapshot . I think your patch for snapshot (make snapshot /clearsnapshot) are more comprehensive. > Improve clearsnapshot command 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: maxwellguo >Priority: Normal > Fix For: 4.x > > > 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: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-13019) Improve clearsnapshot command to delete the snapshot files slowly.
[ https://issues.apache.org/jira/browse/CASSANDRA-13019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16969313#comment-16969313 ] Jeff Jirsa commented on CASSANDRA-13019: [~maxwellguo] I'm sorry I didnt see this issue and didnt realize you had started working on it. I have a patch I wrote independently from CASSANDRA-13019 - are you interested in reviewing that for me? Alternatively, if you have this done, I'm happy to review your patch instead? > Improve clearsnapshot command 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: maxwellguo >Priority: Normal > Fix For: 4.x > > > 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: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org
[jira] [Commented] (CASSANDRA-13019) Improve clearsnapshot command to delete the snapshot files slowly.
[ https://issues.apache.org/jira/browse/CASSANDRA-13019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16875924#comment-16875924 ] maxwellguo commented on CASSANDRA-13019: for me , i think if we add a parameter with slowrm which means do delet file opertion per second which default set to 1. if it is ok ? > Improve clearsnapshot command 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: maxwellguo >Priority: Normal > Fix For: 4.x > > > 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 (v7.6.3#76005) - To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org