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

Dmitry Konstantinov commented on CASSANDRA-21835:
-------------------------------------------------

The test may fail on an agent with slow disk. it does about 1,360 flushes over 
its 12 cases. 
 Also ViewComplexTester.updateViewWithFlush calls 
Keyspace.open(keyspace()).flush() and doesn't wait for the flushes to finish. 

We still have some fsyncs which are not disabled by -Dcassandra.skip_sync=true
||Real fsync under {{skip_sync}}||4.0||4.1||5.0||6.0, trunk||
|Directory sync ({{LogReplica}}) ×2 ¹|(x)|(x)|(x)|(/) 21785|
|TOC|(x) ²|(x) ³|(/)|(/)|
|Digest ({{ChecksumWriter}})|(x) ²|(x) ⁴|(/) 21800|(/) 21800|
|Filter, CompressionInfo|(/)|(x) ³|(/) 21800|(/) 21800|
|*fsyncs per flushed sstable*|*4*|*~6*|*2*|*0*|

(x) = real fsync despite {{-Dcassandra.skip_sync=true}}; (/) = goes through 
{{SyncUtil}}
¹ once when the transaction log is created, once at tidy 
({{NativeLibrary.trySync}})
² {{fos.getFD().sync()}}
³ {{FileOutputStreamPlus.sync()}} → {{FileChannel.force(true)}}
⁴ {{fos.getChannel().force(true)}}


> Flaky test: ViewFilteringSimplePKTest
> -------------------------------------
>
>                 Key: CASSANDRA-21835
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-21835
>             Project: Apache Cassandra
>          Issue Type: Bug
>          Components: Test/unit
>            Reporter: Dmitry Konstantinov
>            Priority: Normal
>
> https://ci-cassandra.apache.org/job/Cassandra-4.0/870/testReport/junit/org.apache.cassandra.cql3/ViewFilteringSimplePKTest/testPartitionKeyFilteringWithSlice_3__3/



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to