[
https://issues.apache.org/jira/browse/CASSANDRA-19938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17883962#comment-17883962
]
Caleb Rackliffe edited comment on CASSANDRA-19938 at 9/23/24 5:08 PM:
----------------------------------------------------------------------
For posterity here, the issue is that replica filtering protection still needs
to query stale replicas when only key columns are touched by the row filter, so
it handles shadowing deletes properly. However, the row filter still doesn't
need to participate in post-filtering, as key columns are immutable.
CC [~jasonstack]
was (Author: maedhroz):
For posterity here, the issue is that replica filtering protection still needs
to query stale replicas when only key columns are touched by the row filter, so
it handles shadowing deletes properly. However, the row filter still doesn't
need to participate in post-filtering, as key columns are immutable.
> Failed test: replica_side_filtering_test.TestSecondaryIndexes
> test_complementary_deletion_with_limit_on_clustering_key_column
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-19938
> URL: https://issues.apache.org/jira/browse/CASSANDRA-19938
> Project: Cassandra
> Issue Type: Bug
> Components: Test/dtest/python
> Reporter: Stefan Miklosovic
> Assignee: Caleb Rackliffe
> Priority: Normal
> Fix For: 5.x
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> I noticed these two started to always fail in trunk
> {code}
> replica_side_filtering_test.TestSecondaryIndexes
> test_complementary_deletion_with_limit_on_clustering_key_column
> replica_side_filtering_test.TestSecondaryIndexes
> test_complementary_deletion_with_limit_on_partition_key_column_with_not_empty_partitions
> {code}
> Fails on
> {code}
> > assert list_res == [], "Expected nothing from {}, but got
> {}".format(query, list_res)
> E AssertionError: Expected nothing from SELECT * FROM t WHERE c
> = 0 LIMIT 1, but got [[1, 0]]
> {code}
> and
> {code}
> > assert list_res == [], "Expected nothing from {}, but got
> {}".format(query, list_res)
> E AssertionError: Expected nothing from SELECT * FROM t WHERE
> k1 = 0 LIMIT 1, but got [[0, 1, 10, 100]]
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]