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

Stefan Miklosovic commented on CASSANDRA-20941:
-----------------------------------------------

This test started to fail (but not locally). I see it in CircleCI as well as in 
pre-ci.

{code}
org.awaitility.core.ConditionTimeoutException: Assertion condition defined as a 
org.apache.cassandra.Util 
Expected: <true>
     but: was <false> within 10 seconds.
        at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:165)
        at 
org.awaitility.core.AssertionCondition.await(AssertionCondition.java:119)
        at 
org.awaitility.core.AssertionCondition.await(AssertionCondition.java:31)
        at org.awaitility.core.ConditionFactory.until(ConditionFactory.java:895)
        at 
org.awaitility.core.ConditionFactory.untilAsserted(ConditionFactory.java:679)
        at org.apache.cassandra.Util.spinUntilTrue(Util.java:793)
        at org.apache.cassandra.Util.spinUntilTrue(Util.java:778)
        at 
org.apache.cassandra.db.compression.CompressionDictionarySchedulerTest.testScheduleSSTableBasedTrainingWithSSTables(CompressionDictionarySchedulerTest.java:102)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Caused by: java.lang.AssertionError: 
Expected: <true>
     but: was <false>
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
        at org.apache.cassandra.Util.lambda$spinUntilTrue$3(Util.java:793)
        at 
org.awaitility.core.AssertionCondition.lambda$new$0(AssertionCondition.java:53)
        at 
org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:222)
        at 
org.awaitility.core.ConditionAwaiter$ConditionPoller.call(ConditionAwaiter.java:209)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
        at 
java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
        at java.base/java.lang.Thread.run(Thread.java:840)
{code}

However I do not think this patch is the cause of that. It also fails on other 
patches too. I do not know what's up because the last time we touched something 
related to compression was CASSANDRA-20938 (CQLSSTableWriter can produce 
SSTables backed by dict) and there it did not fail:

https://pre-ci.cassandra.apache.org/job/cassandra/147/#showFailuresLink

> Add Nodetool command to import / export/ list compression dictionary
> --------------------------------------------------------------------
>
>                 Key: CASSANDRA-20941
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-20941
>             Project: Apache Cassandra
>          Issue Type: New Feature
>          Components: Tool/nodetool
>            Reporter: Yifan Cai
>            Assignee: Stefan Miklosovic
>            Priority: Normal
>          Time Spent: 8h 40m
>  Remaining Estimate: 0h
>
> Introduce a new nodetool command to import a ZSTD compression dictionary.
> - Imported dictionary is automatically promoted as the current dictionary 
> without going through evaluation.
> - Intended as an administrative tool; usage should be documented with 
> warnings about its impact.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to