[
https://issues.apache.org/jira/browse/CASSANDRA-13909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16182142#comment-16182142
]
Marcus Eriksson edited comment on CASSANDRA-13909 at 9/27/17 7:42 AM:
----------------------------------------------------------------------
patch [here|https://github.com/krummas/cassandra/commits/marcuse/bulkobsolete]
- it adds a bulk obsoletion for truncate
dtests:
https://builds.apache.org/view/A-D/view/Cassandra/job/Cassandra-devbranch-dtest/340/
utests: https://circleci.com/gh/krummas/cassandra/120
[~Stefania] do you have time to review this?
edit: my small benchmarks show that this reduces truncate time on a 1600sstable
node from 60s to 6s
was (Author: krummas):
patch [here|https://github.com/krummas/cassandra/commits/marcuse/bulkobsolete]
- it adds a bulk obsoletion for truncate
dtests:
https://builds.apache.org/view/A-D/view/Cassandra/job/Cassandra-devbranch-dtest/340/
utests: https://circleci.com/gh/krummas/cassandra/120
[~Stefania] do you have time to review this?
> Improve TRUNCATE performance with many sstables
> -----------------------------------------------
>
> Key: CASSANDRA-13909
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13909
> Project: Cassandra
> Issue Type: Bug
> Reporter: Marcus Eriksson
> Assignee: Marcus Eriksson
> Fix For: 3.0.x, 3.11.x, 4.x
>
>
> Truncate is very slow in 3.0, mostly due to {{LogRecord.make}} listing all
> files in the directory for every sstable.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]