[
https://issues.apache.org/jira/browse/CASSANDRA-16969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17419150#comment-17419150
]
Brandon Williams commented on CASSANDRA-16969:
----------------------------------------------
Yes, this broke that :(
I've pushed updates to my branches that skip key validation for indexes; I'm
not sure how to validate those, and it seems a little disingenuous of the api
to give me the parent's validator without any indication. We can go with this
for now and tackle indexes later and still be better off than before.
> Scrub does not detect invalid partition keys
> --------------------------------------------
>
> Key: CASSANDRA-16969
> URL: https://issues.apache.org/jira/browse/CASSANDRA-16969
> Project: Cassandra
> Issue Type: Bug
> Components: Tool/sstable
> Reporter: Brandon Williams
> Assignee: Brandon Williams
> Priority: Normal
> Fix For: 3.11.12, 4.0.2, 4.1
>
>
> The standalone scrubber [gets the
> key|https://github.com/apache/cassandra/blob/trunk/src/java/org/apache/cassandra/db/compaction/Scrubber.java#L202]
> from the file but never validates it, and this will propagate to the new
> sstable so it will be corrupted when read later.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]