[
https://issues.apache.org/jira/browse/CASSANDRA-15364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Marcus Eriksson updated CASSANDRA-15364:
----------------------------------------
Fix Version/s: (was: 3.11.x)
(was: 4.x)
(was: 3.0.x)
4.0
3.11.6
3.0.20
Since Version: 3.0 alpha 1
Source Control Link:
https://github.com/apache/cassandra/commit/af963e3a7318aad177bc1b985478d4a598b51d9c
Resolution: Fixed
Status: Resolved (was: Ready to Commit)
And committed, thanks
tests:
[trunk|https://circleci.com/workflow-run/96079445-bfe1-4a54-a7e3-94ed4d93d72a]
[3.11|https://circleci.com/workflow-run/2cebe9b9-9547-4336-b78f-08b71ff2e63d]
[3.0|https://circleci.com/workflow-run/3f11f211-6b4d-44f7-bf42-f9da96512853]
> Avoid over scanning data directories in LogFile.verify()
> --------------------------------------------------------
>
> Key: CASSANDRA-15364
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15364
> Project: Cassandra
> Issue Type: Bug
> Components: Local/Compaction
> Reporter: Marcus Eriksson
> Assignee: Marcus Eriksson
> Priority: Normal
> Fix For: 3.0.20, 3.11.6, 4.0
>
>
> We currently list the data directory for every {{REMOVE}} record in the file
> in {{LogFile.verify()}} - this can get very expensive during startup when we
> call {{LogTransaction.removeUnfinishedLeftovers()}}. In
> {{LogRecord.getExistingFiles(Set<String> absoluteFilePaths)}} we also fully
> parse the file name of the sstables found, here we only need to prefix match.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]