[ 
https://issues.apache.org/jira/browse/CASSANDRA-16720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17359547#comment-17359547
 ] 

Stefan Miklosovic edited comment on CASSANDRA-16720 at 6/8/21, 8:07 PM:
------------------------------------------------------------------------

I am not sure I follow, I do exactly same steps as in the test but manually and 
it replays it just fine.

{code}
cql> CREATE KEYSPACE fql_ks WITH replication = {'class': 'SimpleStrategy', 
'replication_factor': 1};
shell> nodetool enablefullquerylog --path /tmp/cassandra/fqllogs
cql> CREATE TABLE fql_ks.fql_table (id int primary key);
cql> INSERT INTO fql_ks.fql_table (id) VALUES (1);
shell> nodetool disablefullquerylog
cql> DROP TABLE fql_ks.fql_table;
shell> nodetool replay --keyspace fql_ks --target 127.0.0.1 -- 
/tmp/cassandra/fqllogs 
cql> SELECT * from fql_ks.fql_table // this fails which we want
shell> nodetool replay --keyspace fql_ks --target 127.0.0.1 
--replay-ddl-statements -- /tmp/cassandra/fqllogs 
cql> SELECT * from fql_ks.fql_table // I get 1 row
{code}


was (Author: stefan.miklosovic):
I am not sure I follow, I do exactly same steps as in the test but manually and 
it replays it just fine.

> Fix  org.apache.cassandra.distributed.test.FqlReplayDDLExclusionTest.test
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-16720
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-16720
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Test/dtest/java
>            Reporter: Ekaterina Dimitrova
>            Assignee: Brandon Williams
>            Priority: Normal
>             Fix For: 4.0-rc2, 4.0, 4.0-rc
>
>         Attachments: fqllogs.tar.bz2
>
>
> It failed a few times in Jenkins lately. Example:
> [https://jenkins-cm4.apache.org/job/Cassandra-4.0.0/12/testReport/junit/org.apache.cassandra.distributed.test/FqlReplayDDLExclusionTest/test/]
> {code:java}
> Error Message
> Expected: [[1]] Actual: []
> Stacktrace
> junit.framework.AssertionFailedError: Expected: [[1]] Actual: [] at 
> org.apache.cassandra.distributed.shared.AssertUtils.assertRows(AssertUtils.java:58)
>  at 
> org.apache.cassandra.distributed.test.FqlReplayDDLExclusionTest.test(FqlReplayDDLExclusionTest.java:102)
> {code}
> I was also able to reproduce it locally on the latest 4.0.0 so I believe it 
> is worth it to be checked. 
> //CC [~stefan.miklosovic] and [~bereng] as I see you two are the only people 
> who worked on that test up to now so If you have any thoughts to share, as 
> usual, that will be highly appreciated :)



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to