[ https://issues.apache.org/jira/browse/CASSANDRA-20630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Caleb Rackliffe updated CASSANDRA-20630: ---------------------------------------- Summary: MultiNodeSAITest#mixedFilteringSaiTest failure on seed 4002972269394159L (was: MultiNodeSAITest#mixedFilteringSaiTest failure on seed 4002972269394159L for both AF and SAI) > MultiNodeSAITest#mixedFilteringSaiTest failure on seed 4002972269394159L > ------------------------------------------------------------------------ > > Key: CASSANDRA-20630 > URL: https://issues.apache.org/jira/browse/CASSANDRA-20630 > Project: Apache Cassandra > Issue Type: Bug > Components: Consistency/Coordination, CQL/Semantics, Test/fuzz > Reporter: Caleb Rackliffe > Assignee: Caleb Rackliffe > Priority: Normal > Fix For: 5.x > > > This does not reproduce for filtering queries or SAI in the single-node case, > and it does not reproduce for the case where all columns are indexed w/ SAI. > My best guess is that it’s somewhere at the intersection of static columns > and replica filtering protection, as CASSANDRA-20243 was. It also does not > seem to be being caused by recent changes to RowFilter in CASSANDRA-20541. > Lastly, it does not seem to reproduce without range tombstones, which leads > me to believe those are not being resolved correctly by RFP. > {noformat} > java.lang.AssertionError: Caught an exception at seed:4002972269394159L > Caused by: java.lang.AssertionError: Caught an exception while validating > Operation{ lts=26522 pd=-473983724012674231, kind=SELECT_CUSTOM}: > CompiledStatement{cql=execute("SELECT * FROM > distributed_test_keyspace.basic_sai0 WHERE pk0 = ? AND ck0 > ? AND regular2 > > ? AND static0 > ? ALLOW FILTERING;", > (double)0.025595228993263164,(byte)15,new > java.util.Date(10544110510904630L),new java.util.Date(12868019624653504L)} > at > org.apache.cassandra.harry.execution.CQLVisitExecutor.executeValidatingVisit(CQLVisitExecutor.java:176) > at > org.apache.cassandra.harry.execution.CQLVisitExecutor.execute(CQLVisitExecutor.java:154) > at > org.apache.cassandra.harry.execution.CQLVisitExecutor.executeVisit(CQLVisitExecutor.java:70) > at > org.apache.cassandra.harry.dsl.ReplayingHistoryBuilder$1.build(ReplayingHistoryBuilder.java:49) > at > org.apache.cassandra.harry.dsl.SingleOperationVisitBuilder.select(SingleOperationVisitBuilder.java:489) > at > org.apache.cassandra.harry.dsl.HistoryBuilder.select(HistoryBuilder.java:222) > at > org.apache.cassandra.fuzz.sai.SingleNodeSAITestBase.saiTest(SingleNodeSAITestBase.java:294) > at > org.apache.cassandra.fuzz.sai.SingleNodeSAITestBase.lambda$mixedFilteringSaiTest$6(SingleNodeSAITestBase.java:158) > at > org.apache.cassandra.harry.checker.TestHelper.withRandom(TestHelper.java:42) > ... 29 more > Caused by: > org.apache.cassandra.harry.model.QuiescentChecker$ValidationException: Found > a row in the model that is not present in the resultset: > Expected: rowStateRow(47, 1948, vds(-2147483648,-2147483648,1398), > lts(NIL,NIL,20074L) > Actual: resultSetRow(47, 1941, statics(1714,57,1358,1647,223,1332,1833), > slts(EMPTY), values(266,896,1977), lts(EMPTY)) > Partition state: > Visited LTS: [] > Skipped LTS: [] > Static row: > rowStateRow(47, STATIC, statics(1714,57,1358,1647,223,1332,1833), > lts(26500L,26503L,26500L,26500L,26503L,26503L,26503L) > rowStateRow(47, 1196, vds(754,-2147483648,1664), lts(26338L,NIL,26338L) > rowStateRow(47, 1220, vds(1652,-2147483648,578), lts(24865L,NIL,24865L) > rowStateRow(47, 1246, vds(-2147483648,232,1956), lts(NIL,25275L,25275L) > rowStateRow(47, 1269, vds(1847,-2147483648,649), lts(25123L,NIL,25123L) > rowStateRow(47, 1344, vds(1224,-2147483648,1868), lts(25898L,NIL,25898L) > rowStateRow(47, 1358, vds(-2147483648,-2147483648,1204), lts(NIL,NIL,25301L) > rowStateRow(47, 1374, vds(806,-2147483648,100), lts(25564L,NIL,25564L) > rowStateRow(47, 1414, vds(-2147483648,-2147483648,238), lts(NIL,NIL,24685L) > rowStateRow(47, 1415, vds(61,-2147483648,1922), lts(24996L,NIL,24996L) > rowStateRow(47, 1417, vds(1415,1163,1702), lts(24874L,24874L,24874L) > rowStateRow(47, 1422, vds(-2147483648,-2147483648,73), lts(NIL,NIL,25623L) > rowStateRow(47, 1509, vds(1905,-2147483648,212), lts(24643L,NIL,24643L) > rowStateRow(47, 1606, vds(-2147483648,287,1129), lts(NIL,25865L,25865L) > rowStateRow(47, 1657, vds(1871,-2147483648,900), lts(26420L,NIL,26420L) > rowStateRow(47, 1687, vds(-2147483648,1683,1998), lts(NIL,26275L,26275L) > rowStateRow(47, 1708, vds(342,145,1953), lts(25890L,25890L,25890L) > rowStateRow(47, 1712, vds(-2147483648,1552,1033), lts(NIL,26500L,26500L) > rowStateRow(47, 1737, vds(586,667,317), lts(24343L,24343L,24343L) > rowStateRow(47, 1827, vds(778,536,800), lts(26076L,26076L,26076L) > rowStateRow(47, 1829, vds(1930,1706,427), lts(25618L,25618L,25618L) > rowStateRow(47, 1856, vds(-2147483648,-2147483648,1173), lts(NIL,NIL,25010L) > rowStateRow(47, 1875, vds(1631,-2147483648,1954), lts(25931L,NIL,25931L) > rowStateRow(47, 1895, vds(1305,-2147483648,312), lts(24485L,NIL,24485L) > rowStateRow(47, 1918, vds(1003,-2147483648,702), lts(25558L,NIL,25558L) > rowStateRow(47, 1922, vds(1967,-2147483648,724), lts(24509L,NIL,24509L) > rowStateRow(47, 1924, vds(173,-2147483648,1786), lts(25877L,NIL,25877L) > rowStateRow(47, 1933, vds(1413,641,1307), lts(13376L,13376L,13376L) > rowStateRow(47, 1939, vds(1732,-2147483648,1699), lts(13836L,NIL,13836L) > rowStateRow(47, 1948, vds(-2147483648,-2147483648,1398), lts(NIL,NIL,20074L) > rowStateRow(47, 1950, vds(1269,-2147483648,148), lts(10687L,NIL,21531L) > rowStateRow(47, 1953, vds(1126,-2147483648,1029), lts(24096L,NIL,24096L) > rowStateRow(47, 1960, vds(1108,1424,603), lts(25367L,25367L,25367L) > rowStateRow(47, 1961, vds(610,1040,908), lts(14825L,14825L,14825L) > rowStateRow(47, 1962, vds(1944,-2147483648,1059), lts(16326L,NIL,16326L) > rowStateRow(47, 1965, vds(173,74,1701), lts(23494L,23494L,23494L) > rowStateRow(47, 1967, vds(197,1686,1912), lts(10831L,10831L,10831L) > rowStateRow(47, 1980, vds(575,-2147483648,582), lts(13821L,NIL,13821L) > rowStateRow(47, 1984, vds(618,-2147483648,1180), lts(21296L,NIL,21296L) > rowStateRow(47, 1989, vds(809,562,116), lts(25984L,25984L,26104L) > rowStateRow(47, 1998, vds(-2147483648,962,235), lts(NIL,20848L,20723L) > Observed state: > resultSetRow(47, 1196, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(754,-2147483648,1664), lts(EMPTY)) > resultSetRow(47, 1220, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(1652,-2147483648,578), lts(EMPTY)) > resultSetRow(47, 1246, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(-2147483648,232,1956), lts(EMPTY)) > resultSetRow(47, 1269, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(1847,-2147483648,649), lts(EMPTY)) > resultSetRow(47, 1344, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(1224,-2147483648,1868), lts(EMPTY)) > resultSetRow(47, 1358, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(-2147483648,-2147483648,1204), lts(EMPTY)) > resultSetRow(47, 1374, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(806,-2147483648,100), lts(EMPTY)) > resultSetRow(47, 1414, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(-2147483648,-2147483648,238), lts(EMPTY)) > resultSetRow(47, 1415, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(61,-2147483648,1922), lts(EMPTY)) > resultSetRow(47, 1417, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(1415,1163,1702), lts(EMPTY)) > resultSetRow(47, 1422, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(-2147483648,-2147483648,73), lts(EMPTY)) > resultSetRow(47, 1509, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(1905,-2147483648,212), lts(EMPTY)) > resultSetRow(47, 1606, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(-2147483648,287,1129), lts(EMPTY)) > resultSetRow(47, 1657, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(1871,-2147483648,900), lts(EMPTY)) > resultSetRow(47, 1687, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(-2147483648,1683,1998), lts(EMPTY)) > resultSetRow(47, 1708, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(342,145,1953), lts(EMPTY)) > resultSetRow(47, 1712, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(-2147483648,1552,1033), lts(EMPTY)) > resultSetRow(47, 1737, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(586,667,317), lts(EMPTY)) > resultSetRow(47, 1827, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(778,536,800), lts(EMPTY)) > resultSetRow(47, 1829, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(1930,1706,427), lts(EMPTY)) > resultSetRow(47, 1856, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(-2147483648,-2147483648,1173), lts(EMPTY)) > resultSetRow(47, 1875, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(1631,-2147483648,1954), lts(EMPTY)) > resultSetRow(47, 1895, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(1305,-2147483648,312), lts(EMPTY)) > resultSetRow(47, 1918, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(1003,-2147483648,702), lts(EMPTY)) > resultSetRow(47, 1922, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(1967,-2147483648,724), lts(EMPTY)) > resultSetRow(47, 1924, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(173,-2147483648,1786), lts(EMPTY)) > resultSetRow(47, 1933, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(1413,641,1307), lts(EMPTY)) > resultSetRow(47, 1939, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(1732,-2147483648,1699), lts(EMPTY)) > resultSetRow(47, 1941, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(266,896,1977), lts(EMPTY)) > resultSetRow(47, 1948, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(-2147483648,-2147483648,1398), lts(EMPTY)) > resultSetRow(47, 1950, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(1269,-2147483648,148), lts(EMPTY)) > resultSetRow(47, 1953, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(1126,-2147483648,1029), lts(EMPTY)) > resultSetRow(47, 1960, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(1108,1424,603), lts(EMPTY)) > resultSetRow(47, 1961, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(610,1040,908), lts(EMPTY)) > resultSetRow(47, 1962, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(1944,-2147483648,1059), lts(EMPTY)) > resultSetRow(47, 1965, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(173,74,1701), lts(EMPTY)) > resultSetRow(47, 1967, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(197,1686,1912), lts(EMPTY)) > resultSetRow(47, 1980, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(575,-2147483648,582), lts(EMPTY)) > resultSetRow(47, 1984, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(618,-2147483648,1180), lts(EMPTY)) > resultSetRow(47, 1989, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(809,562,116), lts(EMPTY)) > resultSetRow(47, 1998, statics(1714,57,1358,1647,223,1332,1833), slts(EMPTY), > values(-2147483648,962,235), lts(EMPTY)) > at > org.apache.cassandra.harry.model.QuiescentChecker.validate(QuiescentChecker.java:151) > at > org.apache.cassandra.harry.model.QuiescentChecker.validate(QuiescentChecker.java:92) > at > org.apache.cassandra.harry.execution.CQLVisitExecutor.executeValidatingVisit(CQLVisitExecutor.java:172) > {noformat} > The above should be easily reproducible in trunk as of 2025-05-06. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org