[
https://issues.apache.org/jira/browse/CASSANDRA-6477?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14644753#comment-14644753
]
T Jake Luciani commented on CASSANDRA-6477:
-------------------------------------------
The idea with MV repair is we don't actually use the streamed files. We want
to just iterate them and pass them through the regular mutation path (which
maintains view state as well as applies secondary index updates.)
So once we are done with them we 'release' them so they are deleted.
I spoke with Benedict and he suggested rather than explicitly dropping the
sstablereader I add them to the supplied transaction then abort it once the
mutations are applied. testing it now.
> Materialized Views (was: Global Indexes)
> ----------------------------------------
>
> Key: CASSANDRA-6477
> URL: https://issues.apache.org/jira/browse/CASSANDRA-6477
> Project: Cassandra
> Issue Type: New Feature
> Components: API, Core
> Reporter: Jonathan Ellis
> Assignee: Carl Yeksigian
> Labels: cql
> Fix For: 3.0 alpha 1
>
> Attachments: test-view-data.sh, users.yaml
>
>
> Local indexes are suitable for low-cardinality data, where spreading the
> index across the cluster is a Good Thing. However, for high-cardinality
> data, local indexes require querying most nodes in the cluster even if only a
> handful of rows is returned.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)